File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1313 - os : windows-latest
1414 platform : windows/amd64
1515 name : mergen_windows_amd64.exe
16- args : " "
16+ args : " -nsis "
1717 - os : ubuntu-22.04
1818 platform : linux/amd64
1919 name : mergen_linux_amd64
6464 if [ "${{ matrix.os }}" == "windows-latest" ]; then
6565 # Move the built binary directly
6666 mv build/bin/mergen.exe ${{ matrix.name }}
67+ # Move the installer
68+ mv build/bin/mergen-amd64-installer.exe mergen_installer_windows_amd64.exe
6769 elif [ "${{ matrix.os }}" == "ubuntu-22.04" ]; then
6870 mv build/bin/mergen ${{ matrix.name }}
6971 else
7880 # Calculate checksum for the artifact
7981 if [ "${{ matrix.os }}" == "windows-latest" ]; then
8082 certutil -hashfile ${{ matrix.name }} SHA256 | grep -v "hash" | head -n 1 > ${{ matrix.name }}.sha256
83+ certutil -hashfile mergen_installer_windows_amd64.exe SHA256 | grep -v "hash" | head -n 1 > mergen_installer_windows_amd64.exe.sha256
8184 else
8285 shasum -a 256 ${{ matrix.name }} > ${{ matrix.name }}.sha256
8386 fi
8689 uses : actions/upload-artifact@v4
8790 with :
8891 name : ${{ matrix.name }}
89- path : ${{ matrix.name }}
92+ path : |
93+ ${{ matrix.name }}
94+ ${{ matrix.name }}.sha256
95+ mergen_installer_windows_amd64.exe
96+ mergen_installer_windows_amd64.exe.sha256
9097
9198 release :
9299 needs : build
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Unicode true
2828# # !define PRODUCT_EXECUTABLE "Application.exe" # Default "${INFO_PROJECTNAME}.exe"
2929# # !define UNINST_KEY_NAME "UninstKeyInRegistry" # Default "${INFO_COMPANYNAME}${INFO_PRODUCTNAME}"
3030# ###
31- # # !define REQUEST_EXECUTION_LEVEL "admin " # Default "admin" see also https://nsis.sourceforge.io/Docs/Chapter4.html
31+ !define REQUEST_EXECUTION_LEVEL " user " # Default "admin" see also https://nsis.sourceforge.io/Docs/Chapter4.html
3232# ###
3333# # Include the wails tools
3434# ###
@@ -72,7 +72,7 @@ ManifestDPIAware true
7272
7373Name " ${INFO_PRODUCTNAME}"
7474OutFile " ..\..\bin\${INFO_PROJECTNAME}-${ARCH}-installer.exe" # Name of the installer's file.
75- InstallDir " $PROGRAMFILES64 \${INFO_COMPANYNAME}\${INFO_PRODUCTNAME}" # Default installing folder ($PROGRAMFILES is Program Files folder).
75+ InstallDir " $LOCALAPPDATA \${INFO_COMPANYNAME}\${INFO_PRODUCTNAME}" # Default installing folder ($PROGRAMFILES is Program Files folder).
7676ShowInstDetails show # This will always show the installation details.
7777
7878Function .onInit
You can’t perform that action at this time.
0 commit comments