Skip to content

知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.

build: release notes say how to install each platform the release carries

wquguru994cfddf3e26
diff --git a/.github/release-notes-android.md b/.github/release-notes-android.md
index 04c4904..c6dccf1 100644
--- a/.github/release-notes-android.md
+++ b/.github/release-notes-android.md
@@ -1,2 +1,3 @@
+
**Android** (Android 10 or later): download `Cicada-<version>-Android.apk` on the phone, open it and allow installing apps from that source when asked. A new version installs over the old one and keeps your meetings. Signing certificate SHA-256: `5B:2B:7E:7F:76:2F:25:F3:81:68:42:CD:6A:55:AB:CC:B5:8F:8F:7C:A0:DF:A2:44:E3:8B:94:1C:61:53:08:4C`.
diff --git a/.github/release-notes-linux.md b/.github/release-notes-linux.md
new file mode 100644
index 0000000..6fdf0e9
--- /dev/null
+++ b/.github/release-notes-linux.md
@@ -0,0 +1,2 @@
+
+**Linux** (Ubuntu 22.04 or 24.04 desktop, x86_64 or arm64): download `Cicada-<version>-Linux.tar.gz`, then run `tar xzf Cicada-<version>-Linux.tar.gz && cicada-linux/install.sh`.
diff --git a/.github/release-notes-mac.md b/.github/release-notes-mac.md
new file mode 100644
index 0000000..d8f32de
--- /dev/null
+++ b/.github/release-notes-mac.md
@@ -0,0 +1,2 @@
+
+**Mac** (macOS 14.4 or later on Apple silicon): download `Cicada-<version>-macOS-AppleSilicon.dmg`, open it and drag **知了 Cicada** into **Applications**. First launch: **System Settings › Privacy & Security › Open Anyway**.
diff --git a/.github/release-notes-windows.md b/.github/release-notes-windows.md
new file mode 100644
index 0000000..f83c66d
--- /dev/null
+++ b/.github/release-notes-windows.md
@@ -0,0 +1,2 @@
+
+**Windows** (Windows 10 2004 or later): download `Cicada-Setup.exe` (`Cicada-Setup-arm64.exe` on Snapdragon laptops) and double-click it; it installs without admin rights. If SmartScreen stops it: **More info › Run anyway**. The `.zip` files are for updates from older versions.
diff --git a/.github/release-notes.md b/.github/release-notes.md
deleted file mode 100644
index 8132ac1..0000000
--- a/.github/release-notes.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Download the `.dmg`, open it and drag **知了 Cicada** into **Applications**. Requires macOS 26 on Apple silicon.
-
-First launch: **System Settings › Privacy & Security › Open Anyway**.
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 3871887..dab8227 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -239,7 +239,6 @@ jobs:
(cd dist && sha256sum -- * > checksums.txt)
cat dist/checksums.txt
scripts/release_notes.sh "${TAG#v}" > notes.md
- [[ "${{ needs.plan.outputs.android }}" == true ]] && sed "s/<version>/${TAG#v}/" .github/release-notes-android.md >> notes.md
if gh release view "$TAG" >/dev/null 2>&1; then
gh release upload "$TAG" dist/* --clobber
gh release edit "$TAG" --notes-file notes.md
@@ -249,3 +248,9 @@ jobs:
fi
env:
GH_TOKEN: ${{ github.token }}
+ # The install notes for what this release carries (Android can be left out by plan).
+ PLATFORMS: >-
+ ${{ needs.plan.outputs.mac == 'true' && 'mac' || '' }}
+ ${{ needs.plan.outputs.windows == 'true' && 'windows' || '' }}
+ ${{ needs.plan.outputs.linux == 'true' && 'linux' || '' }}
+ ${{ needs.plan.outputs.android == 'true' && 'android' || '' }}
diff --git a/scripts/release_notes.sh b/scripts/release_notes.sh
index fcd6d16..6d00b15 100755
--- a/scripts/release_notes.sh
+++ b/scripts/release_notes.sh
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
# Prints the release notes for one version: its CHANGELOG.md section, a compare link to the version
-# below it, the Chinese changelog on the website, then .github/release-notes.md.
+# below it, the Chinese changelog on the website, then how to install each platform it ships
+# (.github/release-notes-<platform>.md). PLATFORMS (space-separated) overrides the shipped list, as
+# the release workflow does when it leaves Android out for want of its signing key.
# scripts/release_notes.sh 1.0.0
set -euo pipefail
cd "$(dirname "$0")/.."
@@ -16,4 +18,6 @@ echo
[[ -n "$PREV" ]] && echo "**Full changelog**: https://github.com/wquguru/cicada/compare/v$PREV...v$VERSION" && echo
echo "中文更新说明:https://cicada.indaloop.app/changelog/"
echo
-cat .github/release-notes.md
+for p in ${PLATFORMS:-$(scripts/release_platforms.sh "$VERSION")}; do
+ sed "s/<version>/$VERSION/g" ".github/release-notes-$p.md"
+done