Skip to content

Commit

Permalink
Fix workflow and Inno Setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
Minionguyjpro committed Oct 12, 2024
1 parent 58cce4a commit 2c13cd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions src/WinUEFI-setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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)"; \
Expand All @@ -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
Expand All @@ -84,4 +83,3 @@ begin
if not Result then break;
end;
end;

0 comments on commit 2c13cd5

Please sign in to comment.