Skip to content

Commit

Permalink
Add target before build for every platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eagle-Konbu committed Jul 13, 2023
1 parent b518eff commit 8759a0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/release_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ jobs:
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
- name: Add targets (macOS only)
if: matrix.platform == 'macos-latest'
run: |
rustup target add aarch64-apple-darwin
- name: Rust setup
uses: dtolnay/rust-toolchain@nightly

Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"build": {
"beforeDevCommand": "yarn dev",
"beforeBuildCommand": "yarn build",
"beforeBuildCommand": "yarn build && rustup target add aarch64-apple-darwin",
"devPath": "http://localhost:1420",
"distDir": "../dist",
"withGlobalTauri": false
Expand Down

0 comments on commit 8759a0d

Please sign in to comment.