1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-23 16:23:13 +00:00

added branch version to generated setup file.

This commit is contained in:
kayone 2013-11-26 17:08:28 -08:00
parent 19657b471e
commit b02c92d445

View file

@ -7,6 +7,8 @@
#define ForumsURL "http://forums.nzbdrone.com/" #define ForumsURL "http://forums.nzbdrone.com/"
#define AppExeName "NzbDrone.exe" #define AppExeName "NzbDrone.exe"
#define BuildNumber "2.0" #define BuildNumber "2.0"
#define BuildNumber GetEnv('BUILD_NUMBER')
#define BranchName GetEnv('branch')
[Setup] [Setup]
; NOTE: The value of AppId uniquely identifies this application. ; NOTE: The value of AppId uniquely identifies this application.
@ -14,7 +16,7 @@
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{56C1065D-3523-4025-B76D-6F73F67F7F71} AppId={{56C1065D-3523-4025-B76D-6F73F67F7F71}
AppName={#AppName} AppName={#AppName}
AppVersion={#BuildNumber} AppVersion=2.0
AppPublisher={#AppPublisher} AppPublisher={#AppPublisher}
AppPublisherURL={#AppURL} AppPublisherURL={#AppURL}
AppSupportURL={#ForumsURL} AppSupportURL={#ForumsURL}
@ -23,7 +25,7 @@ DefaultDirName={commonprograms}\{#AppName}\bin
DisableDirPage=yes DisableDirPage=yes
DefaultGroupName={#AppName} DefaultGroupName={#AppName}
DisableProgramGroupPage=yes DisableProgramGroupPage=yes
OutputBaseFilename=NzbDroneSetup OutputBaseFilename=NzbDrone.{#BranchName}.{#BuildNumber}
SolidCompression=yes SolidCompression=yes
AppCopyright=Creative Commons 3.0 License AppCopyright=Creative Commons 3.0 License
AllowUNCPath=False AllowUNCPath=False