mirror of
https://github.com/QuasarApp/Hanoi-Towers.git
synced 2025-04-27 18:24:31 +00:00
fix run programm on windows
This commit is contained in:
parent
41dbbce8e3
commit
2aad0d70a4
@ -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 \
|
||||
|
Binary file not shown.
@ -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") {
|
||||
Controller.setValue("RunProgram", qsTr("HanoiTowers.exe"));
|
||||
}
|
||||
}
|
||||
|
||||
Controller.prototype.uninstallationFinished = function() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Controller.prototype.installationFinished = function()
|
||||
{
|
||||
Controller.prototype.installationFinished = function() {
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user