Skip to content

Commit

Permalink
Found the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mas6y6 committed Dec 6, 2024
1 parent 75da485 commit e857b5a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/automatic_cipheros_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ jobs:
$arch = if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64") { "x64" } else { "x32" }
# Set the path to the ISS file based on architecture
$issFile = if ($arch -eq "x64") { "inno\\installer_x64.iss" } else { "inno\\installer_x32.iss" }
$issFile = if ($arch -eq "x64") { "installer_x64.iss" } else { "installer_x32.iss" }
# Run the Inno Setup Compiler
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" $issFile
shell: pwsh

Expand Down
6 changes: 3 additions & 3 deletions inno/installer_x32.iss → installer_x32.iss
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ ChangesAssociations=yes
DisableProgramGroupPage=yes
; Uncomment the following line to run in non administrative install mode (install for current user only.)
PrivilegesRequired=lowest
OutputDir=distworkflow
OutputDir=./distworkflow
OutputBaseFilename=CipherOS Windows 1.5.1 x32
SetupIconFile=/icon.ico
SetupIconFile=./icon.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern
Expand All @@ -48,7 +48,7 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "/distworkflow/{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "./distworkflow/{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Registry]
Expand Down
6 changes: 3 additions & 3 deletions inno/installer_x64.iss → installer_x64.iss
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ ChangesAssociations=yes
DisableProgramGroupPage=yes
; Uncomment the following line to run in non administrative install mode (install for current user only.)
PrivilegesRequired=lowest
OutputDir=distworkflow
OutputDir=./distworkflow
OutputBaseFilename=CipherOS Windows 1.5.1 x64
SetupIconFile=/icon.ico
SetupIconFile=./icon.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern
Expand All @@ -48,7 +48,7 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "/distworkflow/{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "./distworkflow/{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Registry]
Expand Down

0 comments on commit e857b5a

Please sign in to comment.