1
0
Fork 0
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:
Begula 2022-05-06 00:12:29 +05:30 committed by GitHub
parent c124870a45
commit b052282eaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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