mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Added some fixes
More work on update window. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@700 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+6
-5
@@ -99,12 +99,13 @@ int MSE::OnRun() {
|
||||
return wxApp::OnRun();
|
||||
} else if (f.GetExt() == _("mse-installer")) {
|
||||
// Installer; install it
|
||||
bool local = false;
|
||||
InstallType type = settings.install_type;
|
||||
if (argc > 2) {
|
||||
String arg2 = argv[2];
|
||||
local = arg2 == _("--local");
|
||||
}
|
||||
Installer::installFrom(argv[1], true, local);
|
||||
String arg = argv[2];
|
||||
if (arg.Mid(0,2) == _("--"))
|
||||
parse_enum(arg.Mid(2), type);
|
||||
}
|
||||
Installer::installFrom(argv[1], true, isInstallLocal(type));
|
||||
return EXIT_SUCCESS;
|
||||
} else if (arg == _("--symbol-editor")) {
|
||||
Window* wnd = new SymbolWindow(nullptr);
|
||||
|
||||
Reference in New Issue
Block a user