From 2c13cd5ef6b245bd965abd73a584a7e5176b9cec Mon Sep 17 00:00:00 2001 From: Minionguyjpro Date: Sat, 12 Oct 2024 21:43:42 +0200 Subject: [PATCH] Fix workflow and Inno Setup script --- .github/workflows/build.yml | 4 ++-- src/WinUEFI-setup.iss | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 140aad1..1705a9f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,8 +49,8 @@ jobs: - name: Build BAT to EXE application run: | - "${{ github.workspace }}\bin\bat_to_exe\bat_to_exe.exe" /bat "${{ github.workspace }}\src\WinUEFI-console.bat" /exe "${{ github.workspace }}\build\WinUEFI-${{ matrix.config.arch }}-console.exe" /${{ matrix.config.arch_name }} /icon "${{ github.workspace }}\src\logo.ico" /uac-admin /productversion "${{ env.VERSION }}" /internalname "WinUEFI ${{ matrix.config.arch_name_full }}" - "${{ github.workspace }}\bin\bat_to_exe\bat_to_exe.exe" /bat "${{ github.workspace }}\src\WinUEFI.bat" /exe "${{ github.workspace }}\build\WinUEFI-${{ matrix.config.arch }}.exe" /${{ matrix.config.arch_name }} /invisible /icon "${{ github.workspace }}\src\logo.ico" /uac-admin /productversion "${{ env.VERSION }}" /internalname "WinUEFI ${{ matrix.config.arch_name_full }}" + "${{ github.workspace }}\bin\bat_to_exe\bat_to_exe.exe" /bat "${{ github.workspace }}\src\WinUEFI-console.bat" /exe "${{ github.workspace }}\build\WinUEFI-${{ matrix.config.arch }}-console.exe" /${{ matrix.config.arch_name }} /icon "${{ github.workspace }}\src\logo.ico" /uac-admin /productversion "%VERSION%" /internalname "WinUEFI ${{ matrix.config.arch_name_full }}" + "${{ github.workspace }}\bin\bat_to_exe\bat_to_exe.exe" /bat "${{ github.workspace }}\src\WinUEFI.bat" /exe "${{ github.workspace }}\build\WinUEFI-${{ matrix.config.arch }}.exe" /${{ matrix.config.arch_name }} /invisible /icon "${{ github.workspace }}\src\logo.ico" /uac-admin /productversion "%VERSION%" /internalname "WinUEFI ${{ matrix.config.arch_name_full }}" shell: cmd - name: Upload artifact diff --git a/src/WinUEFI-setup.iss b/src/WinUEFI-setup.iss index 80631d6..b7896df 100644 --- a/src/WinUEFI-setup.iss +++ b/src/WinUEFI-setup.iss @@ -58,7 +58,7 @@ Root: HKA; Subkey: "Software\Classes\Applications\{#AppExeName}\SupportedTypes"; [Icons] Name: "{autodesktop}\{#AppName}"; \ - Filename: "{app}\{#AppExeName}"; Tasks: appdesktopicon + Filename: "{app}\{#AppExeName}"; Tasks: app64desktopicon Name: "{autodesktop}\WinUEFI (64-bit) Console"; \ Filename: "{app}\WinUEFI-amd64-console.exe"; Tasks: app64condesktopicon Name: "{autodesktop}\WinUEFI (32-bit)"; \ @@ -69,7 +69,6 @@ Name: "{autodesktop}\WinUEFI (32-bit) Console"; \ [Run] Filename: "{app}\{#AppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(AppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent; Check: NoRunSwitch - [Code] function NoRunSwitch: boolean; var @@ -84,4 +83,3 @@ begin if not Result then break; end; end; -