Skip to content

Commit e9e5c19

Browse files
committed
feat: added command for building windows version on macOS
1 parent b5a106d commit e9e5c19

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ Currently we only support MacOS, Windows will come soon.
8686
#### MacOS
8787
- brew install llvm
8888

89+
#### MacOs build Windows app
90+
Check the Tauri guide for creating the [Windows app on MacOS](https://v2.tauri.app/distribute/windows-installer/#experimental-build-windows-apps-on-linux-and-macos).
91+
8992
#### Windows
9093
- choco install llvm
9194

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"tauri": "tauri",
1111
"icons": "pnpm tauri icon public/icon.svg",
1212
"build:macos": "pnpm tauri build --target aarch64-apple-darwin",
13+
"build:windows-on-macos": "pnpm tauri build --runner cargo-xwin --target x86_64-pc-windows-msvc",
1314
"build:windows": "pnpm tauri build --target x86_64-pc-windows-msvc",
1415
"build:installer": "pnpm tauri build && mkdir -p installers && cp src-tauri/target/release/bundle/dmg/circle-camera_*.dmg installers/",
1516
"docs:dev": "vitepress dev docs",

0 commit comments

Comments
 (0)