More updater fixage
Preserve --dir parameter after updating Allow more than one copy of a command line parameter in MultiMC Linux runner script no longer changes current directory, which allows '--dir .' Fixed unit tests, removed the obsolete one (for some legacy updater command line params that were also removed) [fixes 63127704]
This commit is contained in:
@@ -138,7 +138,8 @@ int main(int argc, char** argv)
|
||||
+ ", wait-pid: " + intToStr(options.waitPid)
|
||||
+ ", script-path: " + options.scriptPath
|
||||
+ ", mode: " + intToStr(options.mode)
|
||||
+ ", finish-cmd: " + options.finishCmd);
|
||||
+ ", finish-cmd: " + options.finishCmd
|
||||
+ ", finish-dir: " + options.finishDir);
|
||||
|
||||
installer.setMode(options.mode);
|
||||
installer.setInstallDir(options.installDir);
|
||||
@@ -148,6 +149,7 @@ int main(int argc, char** argv)
|
||||
installer.setForceElevated(options.forceElevated);
|
||||
installer.setAutoClose(options.autoClose);
|
||||
installer.setFinishCmd(options.finishCmd);
|
||||
installer.setFinishDir(options.finishDir);
|
||||
installer.setDryRun(options.dryRun);
|
||||
|
||||
if (options.mode == UpdateInstaller::Main)
|
||||
|
||||
Reference in New Issue
Block a user