Skip to content

Commit

Permalink
Merge pull request #24 from QuasarApp/v1_5
Browse files Browse the repository at this point in the history
V1 5
  • Loading branch information
EndrII authored Sep 9, 2018
2 parents 7a68e01 + 42d85e4 commit 50b930d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Hanoi-Towers.pro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CONFIG += ordered
include($$PWD/installer/deploy/deployFiles.pri)
message( DEPLOY_FILES_MASTER = $$DEPLOY_FILES)

ENABLE_SNAP = 1 #only linux
ENABLE_SNAP = 0 #only linux
ENABLE_INSTALLER = 1 #only desctop

SUBDIRS += hanoi_towers \
Expand Down
Binary file modified hanoi_towers/languages/ua.qm
Binary file not shown.
13 changes: 9 additions & 4 deletions installer/config/controlScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@ function Controller()
{
installer.uninstallationFinished.connect(this, Controller.prototype.uninstallationFinished);
installer.installationFinished.connect(this, Controller.prototype.installationFinished);
runProgramControl();
}


Controller.prototype.uninstallationFinished = function()
{
function runProgramControl() {
if (systemInfo.kernelType === "winnt") {
installer.setValue("RunProgram", "@TargetDir@/HanoiTowers.exe");
}
}

Controller.prototype.uninstallationFinished = function() {

}


Controller.prototype.installationFinished = function()
{
Controller.prototype.installationFinished = function() {

}

0 comments on commit 50b930d

Please sign in to comment.