Skip to content

Feat/combined windows msi - #47

Merged
batunii merged 2 commits into
docs/ci-and-readmefrom
feat/combined-windows-msi
Jun 12, 2026
Merged

Feat/combined windows msi#47
batunii merged 2 commits into
docs/ci-and-readmefrom
feat/combined-windows-msi

Conversation

@batunii

@batunii batunii commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

batunii added 2 commits June 12, 2026 16:09
Also added tasks for new files

The Windows release now produces one MSI that installs the viewer and the
`clan` CLI (added to the per-machine PATH), replacing the separate viewer
MSI and standalone CLI zip.

- tauri.windows.conf.json: Windows-only config (auto-merged) — msi-only
  target, bundle `clan` as an externalBin sidecar, wire the WiX PATH fragment.
- wix/cli-path.wxs: append INSTALLDIR to the system PATH (removed on
  uninstall), anchored to an HKLM keypath.
- release.yml: drop the Windows target from cli-binaries; build + stage the
  CLI sidecar in the Windows desktop job before tauri-action.
- .gitignore: ignore the generated app/src-tauri/binaries/.

Verified by building CLAN Viewer_1.1.2_x64_en-US.msi locally: contains both
clan.exe and clan-app.exe in INSTALLDIR, PATH Environment entry present, one
bundle (no NSIS).
Linux .deb and .rpm now install the `clan` CLI to /usr/bin (on PATH)
alongside the viewer, mirroring the combined Windows MSI.

- tauri.linux.conf.json: Linux-only config (auto-merged) mapping
  binaries/clan -> /usr/bin/clan via deb.files and rpm.files.
- release.yml: build + stage the CLI in the Linux desktop job before
  tauri-action.

The AppImage stays viewer-only (it can't place files on the host PATH),
so the standalone Linux CLI tarball is kept for AppImage users. macOS is
unchanged (no .pkg/postinstall in Tauri) — viewer DMG and CLI tarballs
remain separate.

Note: .deb/.rpm bundling only runs on Linux, so this was not built
locally (Windows host); it will be exercised in CI on the next tag.
@batunii
batunii merged commit f855491 into docs/ci-and-readme Jun 12, 2026
3 checks passed
saieeshward pushed a commit that referenced this pull request Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant