A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.
Swift ai-agentsanthropicantigravityclaudeclaude-codecodexcursordynamic-islandgemini-cliiosiphonlinuxmacosmacos-appmenubar-appnotchopen-sourceswiftswiftuiwindows
feat(windows): add MSI installer target to bypass NSIS Defender false positives (#204)
Luis Araya98d7cd301c71
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.ymlindex 0c7d77a3..146694ea 100644--- a/.github/workflows/windows.yml+++ b/.github/workflows/windows.yml@@ -89,6 +89,15 @@ jobs:path: windows/release/Coucou-Windows-${{ steps.pack.outputs.version }}-setup.exeretention-days: 3+ # MSI installer generated via WiX toolset. Bypasses NSIS extractor false-positives+ # and provides clean native Windows Installer deployment.+ - uses: actions/upload-artifact@v4+ if: github.event_name == 'workflow_dispatch' || env.PUBLISH == 'true'+ with:+ name: Coucou-Windows-msi+ path: windows/release/Coucou-Windows-${{ steps.pack.outputs.version }}.msi+ retention-days: 3+# The unsigned NSIS installer is what Defender false-positives on, so the# bare binaries go up as well. hooks.rs already falls back to looking for# coucou-hook.exe next to coucou.exe, which is exactly this layout, so the@@ -112,7 +121,7 @@ jobs:$notes = @"Coucou for Windows $v — Mochi at the top of your screen.- Download ``Coucou-Windows-$v-setup.exe`` and run it. The installer is not+ Download ``Coucou-Windows-$v.msi`` (Windows Installer) or ``Coucou-Windows-$v-setup.exe`` and run it. The installer is notcode-signed yet, so Windows SmartScreen shows a warning: click**More info → Run anyway**."@@@ -122,6 +131,7 @@ jobs:# Mac users to the .exe. The macOS `v*` releases own that slot.gh release create "${{ github.ref_name }}" `"release/Coucou-Windows-$v-setup.exe" `+ "release/Coucou-Windows-$v.msi" `--title "Coucou for Windows $v" `--notes $notes `--latest=false@@ -141,10 +151,11 @@ jobs:git tag -f windows-latest "${{ github.sha }}"git push -f origin windows-latestgh release edit windows-latest --title "Coucou for Windows (latest)" --notes "Always the newest Windows build — currently $v."- gh release upload windows-latest "release/Coucou-Windows-setup.exe" --clobber+ gh release upload windows-latest "release/Coucou-Windows-setup.exe" "release/Coucou-Windows.msi" --clobber} else {gh release create windows-latest `"release/Coucou-Windows-setup.exe" `+ "release/Coucou-Windows.msi" `--title "Coucou for Windows (latest)" `--notes "Always the newest Windows build — currently $v." `--latest=falsediff --git a/windows/scripts/pack.mjs b/windows/scripts/pack.mjsindex f3cb00ac..2dfdf860 100644--- a/windows/scripts/pack.mjs+++ b/windows/scripts/pack.mjs@@ -24,6 +24,11 @@ const PACKAGES = {suffix: "-setup.exe",names: [`Coucou-Windows-${version}-setup.exe`, "Coucou-Windows-setup.exe"],},+ {+ dir: "msi",+ suffix: ".msi",+ names: [`Coucou-Windows-${version}.msi`, "Coucou-Windows.msi"],+ },],linux: [{diff --git a/windows/src-tauri/tauri.conf.json b/windows/src-tauri/tauri.conf.jsonindex d292d1b1..2196b815 100644--- a/windows/src-tauri/tauri.conf.json+++ b/windows/src-tauri/tauri.conf.json@@ -41,7 +41,7 @@},"bundle": {"active": true,- "targets": ["nsis"],+ "targets": ["nsis", "msi"],"icon": ["icons/32x32.png","icons/128x128.png",