aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authordivens <divens@users.noreply.github.com>2026-03-16 12:38:38 +0100
committerGitHub <noreply@github.com>2026-03-16 12:38:38 +0100
commitc4a572a8841e652cbff678ac10bd353ec79c58c5 (patch)
tree125e36af671bf8d67343da1f6e7797a935e34b23 /src
parentfix: sixel-image aspect ratio and opacity issues (#4858) (diff)
downloadsl0ppij-c4a572a8841e652cbff678ac10bd353ec79c58c5.tar.gz
sl0ppij-c4a572a8841e652cbff678ac10bd353ec79c58c5.tar.xz
sl0ppij-c4a572a8841e652cbff678ac10bd353ec79c58c5.zip
Add Windows MSI installer with WiX v6 (#4847)
* Add Windows MSI installer with WiX v6 Build a dual-scope MSI installer that lets users choose per-user (%LocalAppData%\Zellij) or per-machine (Program Files\Zellij) install, with automatic PATH configuration and clean uninstall support. - Custom UI based on stock WixToolset.UI.wixext dialogs to work around the long-standing WixUI_Advanced dual-scope bug (wixtoolset/issues#7137) - Custom folder resolution CAs (SetFolderPerUser/SetFolderPerMachine) - Embed application icon into zellij.exe via embed-resource - Icon shown in Add/Remove Programs via ARPPRODUCTICON - MSI build integrated into release.yml CI workflow * Add MSI installer to no-web build and fix artifact naming - Add MSI build steps to build-release-noweb job - Add SHA256 checksums for MSI artifacts - Pin WixToolset.UI.wixext to 6.0.2 to avoid v7 RC incompatibility - Use -installer suffix after target in artifact names --------- Co-authored-by: divens <divens.dev@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/build.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/build.rs b/src/build.rs
index 2fc98c57..613c9483 100644
--- a/src/build.rs
+++ b/src/build.rs
@@ -6,4 +6,8 @@ fn main() {
if cfg!(target_os = "windows") && std::env::var("PROFILE").unwrap_or_default() != "release" {
println!("cargo:rustc-link-arg=/STACK:8388608");
}
+
+ // Embed the application icon into the Windows executable.
+ #[cfg(target_os = "windows")]
+ embed_resource::compile("assets/zellij.rc", embed_resource::NONE);
}