docs: add Linux cross-build instructions for Windows x86 NSIS installer
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.
This commit is contained in:
17
README.md
17
README.md
@@ -59,6 +59,23 @@ npm run helper:windows-x86
|
||||
npm run helper:macos-arm64
|
||||
```
|
||||
|
||||
Ubuntu-to-Windows `Setup.exe` build:
|
||||
|
||||
```bash
|
||||
cd desktop-client
|
||||
cargo install --locked cargo-xwin
|
||||
rustup target add i686-pc-windows-msvc
|
||||
npm install
|
||||
npm run helper:windows-x86
|
||||
npm run tauri:build:windows-x86:linux
|
||||
```
|
||||
|
||||
The resulting NSIS installer is written to:
|
||||
|
||||
- `desktop-client/src-tauri/target/i686-pc-windows-msvc/release/bundle/nsis/`
|
||||
|
||||
This Linux cross-build path is intended for NSIS `Setup.exe` output. Native MSI packaging and final Windows code signing should still be done on Windows.
|
||||
|
||||
Gateway utility scripts:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user