Skip to content

Real-time network monitor + outbound firewall — see & block every connection. Privacy-first, local-first, Rust fleet agent, SIEM exports, 8 languages. / Moniteur réseau temps réel + pare-feu sortant, agent de flotte Rust, exports SIEM. 100 % local.

winget gate: bash shell + grep asset count (pwsh broke on [ ] test)

MoneyLisa8316b0fbf2a1
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 38b0f5b..efadcb8 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -91,9 +91,10 @@ jobs:
# n'existe pas — on saute proprement au lieu d'échouer.
if: env.WINGET_TOKEN != ''
id: assets
+ shell: bash # EN: job runs on windows-latest → force bash / FR: job sur windows-latest → forcer bash
run: |
N=$(curl -s "https://api.github.com/repos/${{ github.repository }}/releases/tags/${GITHUB_REF_NAME}" \
- | python3 -c "import json,sys; d=json.load(sys.stdin); print(sum(1 for a in d.get('assets',[]) if 'Snitch-Setup' in a.get('name','')))" || echo 0)
+ | grep -oE '"name"[ ]*:[ ]*"Snitch-Setup[^"]*"' | wc -l | tr -d ' ')
echo "count=$N" >> "$GITHUB_OUTPUT"
[ "$N" = "0" ] && echo "::notice::no Snitch-Setup-*.exe release asset — skipping winget submission"
- name: Submit winget manifest / Soumettre le manifeste winget