Add Ubuntu-to-Windows build workflow using cargo-xwin for i686-pc-windows-msvc target. Update build-tunnel-helper.sh with host OS detection, target validation, and cargo-xwin support for Linux cross-compilation. Add tauri.windows.conf.json to configure NSIS-only bundle output and npm script for Linux-based Windows builds. Update client-platforms.md to document cross-compilation support and clarify that MSI packaging still requires Windows environment.
29 lines
884 B
JSON
29 lines
884 B
JSON
{
|
|
"name": "nexavpn-desktop-client",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"tauri:dev": "tauri dev",
|
|
"tauri:build": "tauri build",
|
|
"helper:windows-x86": "bash ./scripts/build-tunnel-helper.sh i686-pc-windows-msvc",
|
|
"helper:macos-arm64": "bash ./scripts/build-tunnel-helper.sh aarch64-apple-darwin",
|
|
"tauri:build:windows-x86:linux": "tauri build --runner cargo-xwin --target i686-pc-windows-msvc --config src-tauri/tauri.windows.conf.json"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2.3.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2.3.1",
|
|
"@types/react": "^18.3.20",
|
|
"@types/react-dom": "^18.3.6",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"typescript": "^5.8.2",
|
|
"vite": "^6.2.2"
|
|
}
|
|
}
|