generated from nhcarrigan/template
feat: add windows build woooooo
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 49s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 49s
This commit is contained in:
@@ -46,7 +46,9 @@ sudo pacman -S webkit2gtk-4.1 gtk3 libappindicator-gtk3 xdg-utils
|
||||
|
||||
### 3. Install Hikari Desktop
|
||||
|
||||
Download the latest release for your distribution:
|
||||
Download the latest release for your platform.
|
||||
|
||||
#### Linux
|
||||
|
||||
**AppImage** (any distro):
|
||||
```bash
|
||||
@@ -64,6 +66,14 @@ sudo dpkg -i hikari-desktop_*.deb
|
||||
sudo rpm -i hikari-desktop-*.rpm
|
||||
```
|
||||
|
||||
#### Windows
|
||||
|
||||
The Windows build requires WSL (Windows Subsystem for Linux) with Claude Code installed inside WSL.
|
||||
|
||||
1. Install WSL if you haven't already: https://learn.microsoft.com/en-us/windows/wsl/install
|
||||
2. Install Claude Code inside your WSL distribution (see step 1 above)
|
||||
3. Run the Windows installer (`.exe` or `.msi`)
|
||||
|
||||
## Character States
|
||||
|
||||
| State | Trigger |
|
||||
@@ -85,6 +95,20 @@ sudo rpm -i hikari-desktop-*.rpm
|
||||
- Node.js and pnpm
|
||||
- Rust toolchain
|
||||
|
||||
#### Windows Cross-Compilation (from Linux/WSL)
|
||||
|
||||
To build Windows binaries from Linux, install the following:
|
||||
|
||||
```bash
|
||||
sudo apt install nsis lld llvm clang
|
||||
```
|
||||
|
||||
You will also need `cargo-xwin`:
|
||||
|
||||
```bash
|
||||
cargo install cargo-xwin
|
||||
```
|
||||
|
||||
### Build
|
||||
|
||||
```bash
|
||||
@@ -94,8 +118,14 @@ pnpm install
|
||||
# Development mode
|
||||
pnpm run dev
|
||||
|
||||
# Build for Linux
|
||||
pnpm tauri build
|
||||
# Build for Linux (AppImage, deb, rpm)
|
||||
pnpm build:linux
|
||||
|
||||
# Build for Windows (exe/msi/nsis)
|
||||
pnpm build:windows
|
||||
|
||||
# Build all platforms
|
||||
pnpm build:all
|
||||
```
|
||||
|
||||
## Architecture
|
||||
|
||||
Reference in New Issue
Block a user