diff --git a/.github/workflows/build-tauri-clients.yml b/.github/workflows/build-tauri-clients.yml index eb93bae6..b1991682 100644 --- a/.github/workflows/build-tauri-clients.yml +++ b/.github/workflows/build-tauri-clients.yml @@ -133,6 +133,7 @@ jobs: run: | cd web/src-tauri cat tauri.conf.json + export RUSTFLAGS="--cfg=web_sys_unstable_apis" cargo tauri build pwd ls @@ -144,6 +145,7 @@ jobs: run: | cd web/src-tauri Get-Content tauri.conf.json + $env:RUSTFLAGS="--cfg=web_sys_unstable_apis" cargo tauri build ls target/release/bundle shell: pwsh diff --git a/web/src-tauri/tauri.conf.json b/web/src-tauri/tauri.conf.json index 93ba7050..de6afa74 100644 --- a/web/src-tauri/tauri.conf.json +++ b/web/src-tauri/tauri.conf.json @@ -1,6 +1,6 @@ { "build": { - "beforeBuildCommand": "RUSTFLAGS='--cfg=web_sys_unstable_apis' trunk build", + "beforeBuildCommand": "trunk build", "beforeDevCommand": "RUSTFLAGS='--cfg=web_sys_unstable_apis' trunk serve", "devUrl": "http://localhost:8080", "frontendDist": "../dist"