mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 11:36:31 +00:00
fix inno scripts
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#define MyAppVersion GetFileVersion("..\dist-azaion\Azaion.Suite.exe")
|
||||
|
||||
#ifndef MY_BUILD_ENV
|
||||
#define MY_BUILD_ENV "Stage" ; За замовчуванням Stage, якщо не вказано
|
||||
#define MY_BUILD_ENV "Stage" ; Stage by default
|
||||
#endif
|
||||
|
||||
[Setup]
|
||||
@@ -13,13 +13,7 @@ AppPublisher=Azaion LLC
|
||||
DefaultDirName={localappdata}\Azaion\Azaion Suite
|
||||
DefaultGroupName=Azaion Suite
|
||||
OutputDir=..\
|
||||
|
||||
#if MY_BUILD_ENV == "Prod"
|
||||
OutputBaseFilename=AzaionSuite.Full.Prod.{#MyAppVersion}
|
||||
#else
|
||||
OutputBaseFilename=AzaionSuite.Full.Stage.{#MyAppVersion} ; За замовчуванням Stage
|
||||
#endif
|
||||
|
||||
OutputBaseFilename=AzaionSuite.Iterative.{#MY_BUILD_ENV}.{#MyAppVersion}
|
||||
SetupIconFile=..\dist-azaion\logo.ico
|
||||
UninstallDisplayName=Azaion Suite
|
||||
UninstallDisplayIcon={app}\Azaion.Suite.exe
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
#define MyAppVersion GetFileVersion("..\dist-azaion\Azaion.Suite.exe")
|
||||
|
||||
; Define a variable for the build environment, e.g., "Stage" or "Prod"
|
||||
; This will be set by your Jenkins pipeline using the /D switch.
|
||||
; If not defined via /D, it defaults to "Stage".
|
||||
#ifndef MY_BUILD_ENV
|
||||
#define MY_BUILD_ENV "Stage" ; Default to Stage if not specified (e.g., when compiling manually without /D)
|
||||
#define MY_BUILD_ENV "Stage" ; Stage by default
|
||||
#endif
|
||||
|
||||
[Setup]
|
||||
@@ -16,14 +13,7 @@ AppPublisher=Azaion LLC
|
||||
DefaultDirName={localappdata}\Azaion\Azaion Suite
|
||||
DefaultGroupName=Azaion Suite
|
||||
OutputDir=..\
|
||||
|
||||
; Conditional OutputBaseFilename based on MY_BUILD_ENV
|
||||
#if MY_BUILD_ENV == "Prod"
|
||||
OutputBaseFilename=AzaionSuite.Iterative.Prod.{#MyAppVersion}
|
||||
#else
|
||||
OutputBaseFilename=AzaionSuite.Iterative.Stage.{#MyAppVersion} ; Defaults to Stage if MY_BUILD_ENV is not "Prod"
|
||||
#endif
|
||||
|
||||
OutputBaseFilename=AzaionSuite.Iterative.{#MY_BUILD_ENV}.{#MyAppVersion}
|
||||
SetupIconFile=..\dist-azaion\logo.ico
|
||||
UninstallDisplayName=Azaion Suite
|
||||
UninstallDisplayIcon={app}\Azaion.Suite.exe
|
||||
|
||||
Reference in New Issue
Block a user