mirror of
https://github.com/UltimMC/Launcher.git
synced 2026-01-02 13:50:03 +00:00
Implement update installer
This commit is contained in:
@@ -137,7 +137,8 @@ int main(int argc, char** argv)
|
||||
+ ", package-dir: " + options.packageDir
|
||||
+ ", wait-pid: " + intToStr(options.waitPid)
|
||||
+ ", script-path: " + options.scriptPath
|
||||
+ ", mode: " + intToStr(options.mode));
|
||||
+ ", mode: " + intToStr(options.mode)
|
||||
+ ", finish-cmd: " + options.finishCmd);
|
||||
|
||||
installer.setMode(options.mode);
|
||||
installer.setInstallDir(options.installDir);
|
||||
@@ -146,6 +147,7 @@ int main(int argc, char** argv)
|
||||
installer.setWaitPid(options.waitPid);
|
||||
installer.setForceElevated(options.forceElevated);
|
||||
installer.setAutoClose(options.autoClose);
|
||||
installer.setFinishCmd(options.finishCmd);
|
||||
|
||||
if (options.mode == UpdateInstaller::Main)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user