diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 188c7df9..6baee44b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -153,7 +153,7 @@ jobs: - name: install NDK (for Android build only) if: matrix.config.release == 'android' - run: sdkmanager "ndk;27.0.11902837" + run: sdkmanager "ndk;28.2.13676358" - name: install dependencies run: pnpm install @@ -200,7 +200,7 @@ jobs: if: matrix.config.release == 'android' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NDK_HOME: ${{ env.ANDROID_HOME }}/ndk/27.0.11902837 + NDK_HOME: ${{ env.ANDROID_HOME }}/ndk/28.2.13676358 TAURI_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} TAURI_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} run: | @@ -288,12 +288,18 @@ jobs: echo "Uploading release notes to GitHub release" gh release upload ${{ needs.get-release.outputs.release_tag }} apps/readest-app/release-notes.json --clobber - - name: upload portable binaries (Windows only) + - name: build and upload portable binaries (Windows only) if: matrix.config.os == 'windows-latest' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash run: | + echo "Building Portable Binaries" + pushd apps/readest-app/ + echo "NEXT_PUBLIC_PORTABLE_APP=true" >> .env.local + pnpm tauri build + + popd echo "Uploading Portable Binaries" arch=${{ matrix.config.arch }} version=${{ needs.get-release.outputs.release_version }} diff --git a/apps/readest-app/src-tauri/src/lib.rs b/apps/readest-app/src-tauri/src/lib.rs index 03f5449a..573b3874 100644 --- a/apps/readest-app/src-tauri/src/lib.rs +++ b/apps/readest-app/src-tauri/src/lib.rs @@ -152,15 +152,15 @@ pub fn run() { #[cfg(target_os = "macos")] macos::traffic_light::set_traffic_lights, ]) + .plugin(tauri_plugin_fs::init()) + .plugin(tauri_plugin_persisted_scope::init()) .plugin(tauri_plugin_shell::init()) .plugin(tauri_plugin_opener::init()) .plugin(tauri_plugin_http::init()) .plugin(tauri_plugin_os::init()) .plugin(tauri_plugin_dialog::init()) .plugin(tauri_plugin_native_bridge::init()) - .plugin(tauri_plugin_native_tts::init()) - .plugin(tauri_plugin_persisted_scope::init()) - .plugin(tauri_plugin_fs::init()); + .plugin(tauri_plugin_native_tts::init()); #[cfg(desktop)] let builder = builder.plugin(tauri_plugin_single_instance::init(|app, argv, cwd| {