mirror of
https://github.com/Jackett/Jackett
synced 2024-12-22 07:43:13 +00:00
Inno setup: pass MyAppVersion as a parameter (#13224)
This commit is contained in:
parent
c124870a45
commit
b052282eaa
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||||
|
|
||||||
#define MyAppName "Jackett"
|
#define MyAppName "Jackett"
|
||||||
#define MyAppVersion GetFileVersion(MyFileForVersion)
|
; #define MyAppVersion GetFileVersion(MyFileForVersion) (passed as a parameter)
|
||||||
#define MyAppPublisher "Jackett"
|
#define MyAppPublisher "Jackett"
|
||||||
#define MyAppURL "https://github.com/Jackett/Jackett"
|
#define MyAppURL "https://github.com/Jackett/Jackett"
|
||||||
#define MyAppExeName "JackettTray.exe"
|
#define MyAppExeName "JackettTray.exe"
|
||||||
|
|
|
@ -266,7 +266,7 @@ stages:
|
||||||
script: >
|
script: >
|
||||||
iscc.exe $(Build.SourcesDirectory)/Installer.iss
|
iscc.exe $(Build.SourcesDirectory)/Installer.iss
|
||||||
/O"$(Build.ArtifactStagingDirectory)"
|
/O"$(Build.ArtifactStagingDirectory)"
|
||||||
/DMyFileForVersion=$(Build.BinariesDirectory)/Jackett/Jackett.Common.dll
|
/DMyAppVersion=$(jackettVersion)
|
||||||
/DMySourceFolder=$(Build.BinariesDirectory)/Jackett
|
/DMySourceFolder=$(Build.BinariesDirectory)/Jackett
|
||||||
/DMyOutputFilename=Jackett.Installer.Windows
|
/DMyOutputFilename=Jackett.Installer.Windows
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue