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:
coppro
2007-09-15 03:38:54 +00:00
parent 420e95ba1f
commit 99d385eb00
13 changed files with 90 additions and 32 deletions
+6 -5
View File
@@ -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);