diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3868957..e5c40f1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -93,6 +93,7 @@ jobs: with: name: ${{ matrix.platform }} path: | + src-tauri/target/release/bundle/**/* src-tauri/target/*/release/bundle/**/* publish-flatpak: diff --git a/package.json b/package.json index 54a397e..b8ccd47 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "preview": "vite preview", "tauri": "tauri", "tauri:build": "tauri build && pnpm run post-build:macos", - "post-build:macos": "sh src-tauri/scripts/post-build-macos.sh", + "post-build:macos": "bash src-tauri/scripts/post-build-macos.sh", "flatpak": "flatpak-builder --user --install-deps-from=flathub --repo=emerald-repo --force-clean build-flatpak flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.yml && flatpak build-bundle emerald-repo emerald.flatpak io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher" }, "dependencies": { diff --git a/src-tauri/scripts/post-build-macos.sh b/src-tauri/scripts/post-build-macos.sh index e3a5d3d..02d995e 100755 --- a/src-tauri/scripts/post-build-macos.sh +++ b/src-tauri/scripts/post-build-macos.sh @@ -5,7 +5,7 @@ set -e -if [[ "$(uname)" != "Darwin" ]]; then +if [ "$(uname)" != "Darwin" ]; then echo "Not macOS, skipping post-build fixes" exit 0 fi