feat: add windows build woooooo (#1)
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 51s

### Explanation

_No response_

### Issue

_No response_

### Attestations

- [x] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/)
- [x] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/).
- [x] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/).

### Dependencies

- [ ] I have pinned the dependencies to a specific patch version.

### Style

- [ ] I have run the linter and resolved any errors.
- [ ] My pull request uses an appropriate title, matching the conventional commit standards.
- [ ] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request.

### Tests

- [ ] My contribution adds new code, and I have added tests to cover it.
- [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes.
- [ ] All new and existing tests pass locally with my changes.
- [ ] Code coverage remains at or above the configured threshold.

### Documentation

_No response_

### Versioning

Minor - My pull request introduces a new non-breaking feature.

Reviewed-on: #1
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit was merged in pull request #1.
This commit is contained in:
2026-01-15 10:05:22 -08:00
committed by Naomi Carrigan
parent f393dfb359
commit bd04328e40
3 changed files with 55 additions and 15 deletions
+33 -3
View File
@@ -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