Skip to content

Commit 9066150

Browse files
authored
fix: simplify parameter handling by constructing /SCertum= in Make-Installer.bat
1 parent e2b03be commit 9066150

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test-installer-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ jobs:
4141
shell: cmd
4242

4343
- name: Build Installer
44-
run: .\\Installer\\Make-Installer.bat Nightly /SCertum=.github/scripts/dummy_sign.bat
44+
run: .\\Installer\\Make-Installer.bat Nightly .github/scripts/dummy_sign.bat
4545
shell: cmd

Installer/Make-Installer.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ del ..\Final\Installer\*Installer.exe
3232

3333
echo Building installer...
3434
if not "%~2"=="" (
35-
echo Running Inno Setup: %innoSetupExe% setup.iss /DReleaseState=%1 "%~2"
36-
%innoSetupExe% setup.iss /DReleaseState=%1 "%~2"
35+
echo Running Inno Setup: %innoSetupExe% setup.iss /DReleaseState=%1 /SCertum=%~2
36+
%innoSetupExe% setup.iss /DReleaseState=%1 /SCertum=%~2
3737
) else (
3838
echo Running Inno Setup: %innoSetupExe% setup.iss /DReleaseState=%1
3939
%innoSetupExe% setup.iss /DReleaseState=%1

0 commit comments

Comments
 (0)