Skip to content

Commit

Permalink
Fix script extension for service
Browse files Browse the repository at this point in the history
Signed-off-by: miigotu <[email protected]>
  • Loading branch information
miigotu committed Nov 10, 2021
1 parent bb8d441 commit d54f80a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions SickChill.iss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <.\idp\idp.iss>

#define SickChillInstallerVersion "v0.6.1"
#define SickChillInstallerVersion "v0.6.2"

#define AppId "{{B0D7EA3E-CC34-4BE6-95D5-3C3D31E9E1B2}"
#define AppName "SickChill"
Expand All @@ -14,7 +14,7 @@

#define DefaultPort 8081

#define InstallerVersion 10010
#define InstallerVersion 10011
#define InstallerSeedUrl "https://raw.githubusercontent.com/SickChill/windows-sickchill/master/seed.ini"
#define AppRepoUrl "https://github.com/SickChill/SickChill.git"

Expand Down Expand Up @@ -348,7 +348,7 @@ begin
OldProgressString := WizardForm.StatusLabel.Caption;
WizardForm.StatusLabel.Caption := ExpandConstant('Installing {#AppName} service...')
Exec(Nssm, ExpandConstant('install "{#AppServiceName}" "{app}\Python3\tools\python.exe" """{app}\Python3\tools\Scripts\SickChill.py""" --nolaunch --port='+GetWebPort('')+' --datadir="""{app}\Data"""'), '', SW_HIDE, ewWaitUntilTerminated, ResultCode)
Exec(Nssm, ExpandConstant('install "{#AppServiceName}" "{app}\Python3\tools\python.exe" """{app}\Python3\tools\Scripts\SickChill.exe""" --nolaunch --port='+GetWebPort('')+' --datadir="""{app}\Data"""'), '', SW_HIDE, ewWaitUntilTerminated, ResultCode)
Exec(Nssm, ExpandConstant('set "{#AppServiceName}" AppDirectory "{app}\Data"'), '', SW_HIDE, ewWaitUntilTerminated, ResultCode)
Exec(Nssm, ExpandConstant('set "{#AppServiceName}" Description "{#AppServiceDescription}"'), '', SW_HIDE, ewWaitUntilTerminated, ResultCode)
Exec(Nssm, ExpandConstant('set "{#AppServiceName}" AppStopMethodSkip 6'), '', SW_HIDE, ewWaitUntilTerminated, ResultCode)
Expand Down
2 changes: 1 addition & 1 deletion seed.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Installer]
Version=10010
Version=10011
DownloadUrl=https://github.com/SickChill/windows-sickchill

[Python.x64]
Expand Down

0 comments on commit d54f80a

Please sign in to comment.