Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
mas6y6 committed Dec 6, 2024
1 parent 59a9162 commit abf6e95
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/automatic_cipheros_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,25 +73,16 @@ jobs:
$EXECUTABLE --debug --startdir=. || (echo "Error: Program failed during initialization!" && exit 1)
- name: Debug distworkflow Directory
run: |
echo "Contents of ./distworkflow:"
ls -la ./distworkflow
shell: bash

- name: Debug Current Directory
run: |
echo "Contents of current directory (./):"
ls -la ./
shell: bash


- name: Package with Inno Setup
if: runner.os == 'Windows'
run: |
# Detect architecture
$arch = if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64") { "x64" } else { "x32" }
pwd
ls -la ./distworkflow
ls -la ./
# Set the path to the ISS file based on architecture
$issFile = if ($arch -eq "x64") { "inno\\installer_x64.iss" } else { "inno\\installer_x32.iss" }
Expand Down
2 changes: 1 addition & 1 deletion inno/installer_x32.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion inno/installer_x64.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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 abf6e95

Please sign in to comment.