Skip to content

Commit

Permalink
Merge pull request #321 from madeofpendletonwool/bug-fixes
Browse files Browse the repository at this point in the history
Fix build on windows because freaking windows
  • Loading branch information
madeofpendletonwool authored Dec 10, 2024
2 parents c672c9e + 90683ea commit 89ed6b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build-tauri-clients.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion web/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 89ed6b9

Please sign in to comment.