diff --git a/.github/workflows/cross-build.yml b/.github/workflows/cross-build.yml index 3e79979..f4dea60 100644 --- a/.github/workflows/cross-build.yml +++ b/.github/workflows/cross-build.yml @@ -27,6 +27,8 @@ jobs: # "C:\Program Files\NSIS\makensis.exe" install-scripts\windows.nsi run: | makensis install-scripts/windows.nsi + with: + working-directory: ${{ steps.pyinstaller.outputs.executable_path }} - name: Upload executable uses: actions/upload-artifact@v4 with: diff --git a/install-scripts/windows.nsi b/install-scripts/windows.nsi index d47dfe4..b1f8cb7 100644 --- a/install-scripts/windows.nsi +++ b/install-scripts/windows.nsi @@ -4,8 +4,8 @@ OutFile "maestro-installer.exe" Section ; Add ../dist/maestro and ../dist/_internal to $PROGRAMFILES/maestro-bundle - File dist/maestro/maestro - File /r dist/maestro/_internal + File maestro/maestro + File /r maestro/_internal ; Add $PROGRAMFILES/maestro-bundle to PATH EnVar::AddValue HKCU "Path" "$PROGRAMFILES\maestro-bundle"