From abf6e95b69c28bb6b19f657d1a65625d207a03fc Mon Sep 17 00:00:00 2001 From: mas6y6 Date: Fri, 6 Dec 2024 13:38:56 -0600 Subject: [PATCH] More debugging --- .../workflows/automatic_cipheros_builder.yml | 17 ++++------------- inno/installer_x32.iss | 2 +- inno/installer_x64.iss | 2 +- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/.github/workflows/automatic_cipheros_builder.yml b/.github/workflows/automatic_cipheros_builder.yml index caf2360..af59157 100644 --- a/.github/workflows/automatic_cipheros_builder.yml +++ b/.github/workflows/automatic_cipheros_builder.yml @@ -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" } diff --git a/inno/installer_x32.iss b/inno/installer_x32.iss index 59b88be..627a63a 100644 --- a/inno/installer_x32.iss +++ b/inno/installer_x32.iss @@ -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] diff --git a/inno/installer_x64.iss b/inno/installer_x64.iss index e56eeec..e49f9b4 100644 --- a/inno/installer_x64.iss +++ b/inno/installer_x64.iss @@ -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]