Files
firezone/rust/windows-client
Reactor Scram 189a35f692 feat(windows): Tauri boilerplate and CI changes (#2742)
Trying to get CI/CD to produce firezone-windows-client.exe. Can't
remember if I need both a PR and a draft release or just the draft
release for that.

---------

Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-11-30 19:50:43 +00:00
..

windows-client

This crate houses a Windows GUI client.

Building

From this dir:

# First-time setup - Install Tauri's dev server / hot-reload tool
cargo install tauri-cli

# Builds a release exe
cargo tauri build

# The release exe, MSI, and NSIS installer should be up in the workspace.
# The exe can run without being installed
stat ../target/release/firezone-windows-client.exe
stat ../target/release/bundle/msi/firezone-windows-client_0.0.0_x64_en-US.msi
stat ../target/release/bundle/nsis/firezone-windows-client_0.0.0_x64-setup.exe

Running

From this dir:

# Tauri has some hot-reloading features. If the Rust code changes it will even recompile and restart the program for you.
cargo tauri dev

# You can call debug subcommands on the exe from this directory too
# e.g. this is equivalent to `cargo run -- debug`
cargo tauri dev -- -- debug

# Debug connlib GUI integration
cargo tauri dev -- -- debug-connlib

# The exe is up in the workspace
stat ../target/debug/firezone-windows-client.exe

(From Tauri's default README)