Skip to content

Commit

Permalink
Fix NSIS long path error
Browse files Browse the repository at this point in the history
(References: #99)
  • Loading branch information
Aszusz committed Apr 10, 2024
1 parent 1398269 commit c0e9da1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sub-build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
/DPRODUCT_VERSION=${{ inputs.version }}
/DPRODUCT_PUBLISHER="Prominic.NET"
/DPRODUCT_WEB_SITE="/https://superhumaninstaller.com/"
/DBIN_PATH="..\..\${{ env.bin_path }}\*.*"
/DBIN_PATH="${{ env.bin_path }}\*.*"
/DPRODUCT_EXE=${{ env.app_name }}.exe
/DPRODUCT_INSTALLER=${{ env.app_name }}-Setup.exe
/DROOT_KEY=HKCU
Expand Down
1 change: 1 addition & 0 deletions Templates/installer/nsis-installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Section "MainSection" SEC01
RMDir /r "$INSTDIR"
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
!cd "..\..\"
File /r "${BIN_PATH}"
CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME}.lnk" "$INSTDIR\${PRODUCT_EXE}"
Expand Down

0 comments on commit c0e9da1

Please sign in to comment.