Skip to content

Commit d54f80a

Browse files
committed
Fix script extension for service
Signed-off-by: miigotu <miigotu@gmail.com>
1 parent bb8d441 commit d54f80a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

SickChill.iss

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <.\idp\idp.iss>
22

3-
#define SickChillInstallerVersion "v0.6.1"
3+
#define SickChillInstallerVersion "v0.6.2"
44

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

1515
#define DefaultPort 8081
1616

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

@@ -348,7 +348,7 @@ begin
348348
OldProgressString := WizardForm.StatusLabel.Caption;
349349
WizardForm.StatusLabel.Caption := ExpandConstant('Installing {#AppName} service...')
350350
351-
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)
351+
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)
352352
Exec(Nssm, ExpandConstant('set "{#AppServiceName}" AppDirectory "{app}\Data"'), '', SW_HIDE, ewWaitUntilTerminated, ResultCode)
353353
Exec(Nssm, ExpandConstant('set "{#AppServiceName}" Description "{#AppServiceDescription}"'), '', SW_HIDE, ewWaitUntilTerminated, ResultCode)
354354
Exec(Nssm, ExpandConstant('set "{#AppServiceName}" AppStopMethodSkip 6'), '', SW_HIDE, ewWaitUntilTerminated, ResultCode)

seed.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[Installer]
2-
Version=10010
2+
Version=10011
33
DownloadUrl=https://github.com/SickChill/windows-sickchill
44

55
[Python.x64]

0 commit comments

Comments
 (0)