summaryrefslogtreecommitdiffstats
path: root/mmc_updater/src/main.cpp
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-12-05 20:32:12 -0600
committerAndrew <forkk@forkk.net>2013-12-05 20:32:52 -0600
commite90f1a27569ac6b9e9782646c9de92fc9534b1d2 (patch)
treed04e408ed599a6f33bdcd341dbc99cb6d1de5cb7 /mmc_updater/src/main.cpp
parent48ec8e67b8cff63cd2d0e08c17e7bb576b4e07a7 (diff)
downloadMultiMC-e90f1a27569ac6b9e9782646c9de92fc9534b1d2.tar
MultiMC-e90f1a27569ac6b9e9782646c9de92fc9534b1d2.tar.gz
MultiMC-e90f1a27569ac6b9e9782646c9de92fc9534b1d2.tar.lz
MultiMC-e90f1a27569ac6b9e9782646c9de92fc9534b1d2.tar.xz
MultiMC-e90f1a27569ac6b9e9782646c9de92fc9534b1d2.zip
Implement update installer
Diffstat (limited to 'mmc_updater/src/main.cpp')
-rw-r--r--mmc_updater/src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/mmc_updater/src/main.cpp b/mmc_updater/src/main.cpp
index e23cf16d..fb072ab5 100644
--- a/mmc_updater/src/main.cpp
+++ b/mmc_updater/src/main.cpp
@@ -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)
{