mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:06:30 +00:00
fix inno scripts
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#define MyAppVersion GetFileVersion("..\dist-azaion\Azaion.Suite.exe")
|
#define MyAppVersion GetFileVersion("..\dist-azaion\Azaion.Suite.exe")
|
||||||
|
|
||||||
#ifndef MY_BUILD_ENV
|
#ifndef MY_BUILD_ENV
|
||||||
#define MY_BUILD_ENV "Stage" ; За замовчуванням Stage, якщо не вказано
|
#define MY_BUILD_ENV "Stage" ; Stage by default
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
@@ -13,13 +13,7 @@ AppPublisher=Azaion LLC
|
|||||||
DefaultDirName={localappdata}\Azaion\Azaion Suite
|
DefaultDirName={localappdata}\Azaion\Azaion Suite
|
||||||
DefaultGroupName=Azaion Suite
|
DefaultGroupName=Azaion Suite
|
||||||
OutputDir=..\
|
OutputDir=..\
|
||||||
|
OutputBaseFilename=AzaionSuite.Iterative.{#MY_BUILD_ENV}.{#MyAppVersion}
|
||||||
#if MY_BUILD_ENV == "Prod"
|
|
||||||
OutputBaseFilename=AzaionSuite.Full.Prod.{#MyAppVersion}
|
|
||||||
#else
|
|
||||||
OutputBaseFilename=AzaionSuite.Full.Stage.{#MyAppVersion} ; За замовчуванням Stage
|
|
||||||
#endif
|
|
||||||
|
|
||||||
SetupIconFile=..\dist-azaion\logo.ico
|
SetupIconFile=..\dist-azaion\logo.ico
|
||||||
UninstallDisplayName=Azaion Suite
|
UninstallDisplayName=Azaion Suite
|
||||||
UninstallDisplayIcon={app}\Azaion.Suite.exe
|
UninstallDisplayIcon={app}\Azaion.Suite.exe
|
||||||
|
|||||||
@@ -1,10 +1,7 @@
|
|||||||
#define MyAppVersion GetFileVersion("..\dist-azaion\Azaion.Suite.exe")
|
#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
|
#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
|
#endif
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
@@ -16,14 +13,7 @@ AppPublisher=Azaion LLC
|
|||||||
DefaultDirName={localappdata}\Azaion\Azaion Suite
|
DefaultDirName={localappdata}\Azaion\Azaion Suite
|
||||||
DefaultGroupName=Azaion Suite
|
DefaultGroupName=Azaion Suite
|
||||||
OutputDir=..\
|
OutputDir=..\
|
||||||
|
OutputBaseFilename=AzaionSuite.Iterative.{#MY_BUILD_ENV}.{#MyAppVersion}
|
||||||
; 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
|
|
||||||
|
|
||||||
SetupIconFile=..\dist-azaion\logo.ico
|
SetupIconFile=..\dist-azaion\logo.ico
|
||||||
UninstallDisplayName=Azaion Suite
|
UninstallDisplayName=Azaion Suite
|
||||||
UninstallDisplayIcon={app}\Azaion.Suite.exe
|
UninstallDisplayIcon={app}\Azaion.Suite.exe
|
||||||
|
|||||||
Reference in New Issue
Block a user