知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.
Swift androidlinuxlive-captionsmacosmeeting-notesmenubar-appsimultaneous-interpretationspeech-recognitionsubtitlesswiftswiftuitranslationwindows
feat: rename the app to Cicada with the bundle id com.wquguru.cicada
wquguru0be26cd14c0b
diff --git a/.github/release-notes.md b/.github/release-notes.mdindex 3c4afee..8132ac1 100644--- a/.github/release-notes.md+++ b/.github/release-notes.md@@ -1,3 +1,3 @@-Download the `.dmg`, open it and drag **Live Subs** into **Applications**. Requires macOS 26 on Apple silicon.+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/build.yml b/.github/workflows/build.ymlindex fb90ad2..be64615 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -15,8 +15,8 @@ jobs:- run: scripts/package.sh- uses: actions/upload-artifact@v4with:- name: LiveSubs+ name: Cicadapath: |- build/LiveSubs-*.dmg- build/LiveSubs-*.zip+ build/Cicada-*.dmg+ build/Cicada-*.zipbuild/checksums.txtdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 49eaf4c..57d6ec3 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -23,7 +23,7 @@ jobs:- name: Publish the releaserun: |scripts/release_notes.sh "${GITHUB_REF_NAME#v}" > build/notes.md- gh release create "$GITHUB_REF_NAME" build/LiveSubs-*.dmg build/LiveSubs-*.zip build/checksums.txt \- --title "Live Subs ${GITHUB_REF_NAME#v}" --notes-file build/notes.md+ gh release create "$GITHUB_REF_NAME" build/Cicada-*.dmg build/Cicada-*.zip build/checksums.txt \+ --title "知了 Cicada ${GITHUB_REF_NAME#v}" --notes-file build/notes.mdenv:GH_TOKEN: ${{ github.token }}diff --git a/AGENTS.md b/AGENTS.mdindex dac6621..e89e660 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -1,6 +1,6 @@# AGENTS.md-Live Subs is a macOS menu bar app that turns whatever the Mac is playing (streams, videos, meetings, voice rooms) into live translated subtitles, keeps every meeting as a bilingual transcript, and can translate what you say back into the room as speech.+Cicada (知了, formerly Live Subs) is a macOS menu bar app that turns whatever the Mac is playing (streams, videos, meetings, voice rooms) into live translated subtitles, keeps every meeting as a bilingual transcript, and can translate what you say back into the room as speech.## Scope (deliberately small)@@ -22,7 +22,7 @@ Live Subs is a macOS menu bar app that turns whatever the Mac is playing (stream- Source of truth: the Design canvases in claude.ai (logo directions, onboarding, auto show/hide) and the app itself.- Look: light grey ground `#F3F4F6`/`#F6F7F9`, white cards, ink `#15171C`, one accent orange `#E8552B` for "live" (dots, the speaking line, the icon). Text greys `#5A5F6B` / `#6B7080` (they pass 4.5:1 on white).-- Logo H1: a cicada's eyes and wings peeking over a subtitle bar, on an orange squircle. The geometry (100-unit design space) is in three places kept in step: `CicadaLogo` in `Onboarding.swift` (the in-app `BrandMark` and the one-colour menu bar glyph `BrandImage.menuBar`, 40% when paused), `Sources/LiveSubsIcon` (the app icon) and `site/icon.svg`.+- Logo B (design: claude.ai/artifact/96R6Md276c3jAS4Mk4Ustn): a cicada's dark eyes and white wings peeking over a white subtitle card that leans 5° and bleeds off the bottom right, on an orange gradient squircle. The geometry (100-unit design space) is in three places kept in step: `CicadaLogo` in `Onboarding.swift` (the in-app `BrandMark` and the one-colour menu bar glyph `BrandImage.menuBar` with a whole card, 40% when paused), its copy in `Sources/LiveSubsIcon` (the app icon) and `site/icon.svg`. After changing it: `scripts/site-images.sh` (site `icon.png`, `og.png`) and `docs/icon.png` (the README's, the app icon's 256 px render).- Copy is Chinese, short: one line of grey helper text at most.## Layout@@ -31,8 +31,8 @@ Live Subs is a macOS menu bar app that turns whatever the Mac is playing (stream- `Sources/LiveSubs`: the app. Engine files are UI-free: `SystemAudioTap`, `AudioRouter` (resample, feed, ring buffer, recording), `LanguageDetector`, `ListenEngine`, `SpeakEngine`, `Shortcuts` (Carbon `HotKey`, right-⌥ `RightOptionKey`), `Ling` (Keychain key + client), `Notes` (model + engine), `Translator`, `VirtualMic`, `SessionStore` (+ exports). UI: `Overlay` (subtitle bar), `Views` (panel, main window), `SettingsWindow` (settings + the virtual mic checklist), `AISettings`, `NotesWindow` + `NotesViews` (live notes window; notes and transcript views shared with the main window), `Onboarding` (+ sample player, brand mark), `AppMenu` (the menus top left), `AppModel` (wiring, status item, windows, activation policy, debug control, `@main`). `DMGBackground` draws the installer background; `DevBuild` tells dev from release.- `Sources/LiveSubsIcon`: CLI that renders the icon set (`--dev` adds the DEV band).- `Resources/`: `Info.plist`, `sample/` (the 7 s onboarding clip, made by `scripts/make-sample.sh`), `dmg/DS_Store` (installer window layout).-- `scripts/build.sh`: builds `build/LiveSubs.app`. Without `RELEASE=1` it is a **dev build**: "Live Subs Dev", bundle id `com.wquguru.cicada.dev`, `LiveSubsDev` = `branch @ commit[+]` in Info.plist; "DEV" beside the menu bar glyph, a DEV badge and the stamp in the panel, a DEV band on the icon, its own settings, permissions, `~/Library/Application Support/LiveSubs Dev` and log `/tmp/livesubs-dev-debug.log`. Both builds are signed ad hoc with a fixed designated requirement (the bundle id) so rebuilding keeps the system-audio and microphone permissions. Don't change the release bundle id `com.wquguru.cicada`: permissions are tied to it.-- `scripts/package.sh`: `RELEASE=1` build (refuses any other bundle id) → `LiveSubs-<version>-macOS-AppleSilicon.dmg` / `.zip` + `checksums.txt`. The DMG background is drawn by the app (`LiveSubs --render-dmg-background out.png <scale>`); the window layout is `Resources/dmg/DS_Store`, made by Finder via `scripts/dmg-template.sh` — rerun it after changing the window, icon positions or background, and keep `DMGBackground.swift` in step.+- `scripts/build.sh`: builds `build/Cicada.app` (executable `Cicada`; the SwiftPM product and the source folder are still `LiveSubs`). Shown as 知了 on Chinese systems and Cicada elsewhere (`Resources/*.lproj/InfoPlist.strings`). Without `RELEASE=1` it is a **dev build**: "知了 Dev" / "Cicada Dev", bundle id `com.wquguru.cicada.dev`, `LiveSubsDev` = `branch @ commit[+]` in Info.plist; "DEV" beside the menu bar glyph, a DEV badge and the stamp in the panel, a DEV band on the icon, its own settings, permissions, `~/Library/Application Support/LiveSubs Dev` and log `/tmp/livesubs-dev-debug.log`. Both builds are signed ad hoc with a fixed designated requirement (the bundle id) so rebuilding keeps the system-audio and microphone permissions. Don't change the release bundle id `com.wquguru.cicada`: permissions are tied to it.+- `scripts/package.sh`: `RELEASE=1` build (refuses any other bundle id) → `Cicada-<version>-macOS-AppleSilicon.dmg` / `.zip` + `checksums.txt`. The DMG background is drawn by the app (`LiveSubs --render-dmg-background out.png <scale>`); the window layout is `Resources/dmg/DS_Store`, made by Finder via `scripts/dmg-template.sh` — rerun it after changing the window, icon positions or background, and keep `DMGBackground.swift` in step.- `site/`: the website (GitHub Pages, Chinese first): `index.html` and `changelog.html` are templates sharing `header.html` / `footer.html` and `style.css`; `changelog.json` is the Chinese changelog the site shows (newest first, `"date": null` = not released yet; keep it in step with `CHANGELOG.md`). `scripts/site.py` builds `build/site/` (pages, `feed.xml`, `sitemap.xml`, `robots.txt`; `SITE_URL` sets the address); `.github/workflows/pages.yml` deploys it (skipped while the repo is private). `og.png` and `icon.png` are rendered by `scripts/site-images.sh` (Chrome) from `scripts/site-og.html` and `site/icon.svg`, and committed. Phones get no download: a "发到我的 Mac" button shares or copies the link.- `tools/`: test helpers (remote control, synthetic mouse/keys, window capture, transcription check); see `tools/README.md`.@@ -40,7 +40,7 @@ Live Subs is a macOS menu bar app that turns whatever the Mac is playing (stream```bashswift build # debug build-scripts/build.sh && open build/LiveSubs.app # dev build (Live Subs Dev)+scripts/build.sh && open build/Cicada.app # dev build (知了 Dev)RELEASE=1 scripts/build.sh # release build (com.wquguru.cicada)scripts/package.sh # DMG + zip + checksums in build/scripts/make-sample.sh # regenerate the onboarding sample clipdiff --git a/CHANGELOG.md b/CHANGELOG.mdindex bda45a7..f9d2b61 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,8 +5,9 @@ the release workflow publishes it as the release notes.## Unreleased+- Changed: Live Subs is now 知了 (Cicada in English): new name, new logo, new app id (`com.wquguru.cicada`). macOS treats it as a new app, so it asks again for system audio, microphone and Input Monitoring, and settings and the AI key start fresh; meeting records are kept. Delete the old Live Subs from Applications.- New: choose the voice the room hears for each language (Settings › 同声传译 › 对方听到的声音): natural Ming voices, two women and two men where available (Emma, George, Charlotte in English; 小雅, 小棠, 小锋, 卓然 in Chinese; Japanese, Korean, German, French and Spanish too), the Mac's own voices, each with a play button. Or record 15 s of your own voice and the room hears you, in any language (with your accent, about 1.5 s later than the built-in voices). The recording stays on your Mac and is sent to Ling only with what you say.-- Changed: a new logo (a cicada peeking over a subtitle bar) for the app icon, the menu bar and the app's windows; clearer wording throughout the Chinese interface.+- Changed: clearer wording throughout the Chinese interface.- New: the project is licensed under Apache-2.0, and has a website (Chinese first) with a searchable changelog and an RSS feed.- Changed: the Ling API key is kept in a file only your account can read (in the app's Application Support folder, left out of backups) instead of the Keychain, which asked for your password every time the app was updated. A key saved earlier is moved over once (one last password prompt).- Changed: settings are now 显示 (who is heard and what it's translated into, then how it shows) / 同声传译 (was 我说话也翻译; the panel uses the new name too) / 会议记录 / AI 服务.@@ -30,8 +31,8 @@ the release workflow publishes it as the release notes.- New: with a key, finished sentences and speak-back are translated by Ling (names kept consistent through the notes' glossary); if Ling is busy or fails, that sentence falls back to Google, then to Apple's on-device translation. Partial text while someone is still talking stays on Google.- New: Settings › AI 服务 takes your own Ling (ant-ling.com) API key. It is kept in the macOS Keychain, checked with a one-token request, and shown masked; without a key everything works as before.- New: both shortcuts (talk, hide/show the subtitle bar) can be changed in settings: click and press new keys. Combinations without ⌃ or ⌘, system shortcuts and ones another app already uses are refused with a reason.-- Fixed: clicking the live notes window no longer brings the main or settings window forward or takes focus from the meeting app, and the notes window alone no longer puts the app in the Dock. The Dock icon reopens whichever window is open instead of always the main window; exporting from the main window opens the save dialog on it; quitting while a meeting is being recorded asks first; settings remember their position and last tab; the 窗口 menu lists the open windows.+## 2.0.0 — 2026-11-01- New: spoken-language auto-detection across the installed on-device models; translation target follows the system language or a manual choice.diff --git a/README.md b/README.mdindex 08ae305..89e0a2b 100644--- a/README.md+++ b/README.md@@ -1,32 +1,34 @@<p align="center">- <img src="docs/icon.png" width="128" height="128" alt="Live Subs icon">+ <img src="docs/icon.png" width="128" height="128" alt="Cicada icon"></p>-<h1 align="center">Live Subs</h1>+<h1 align="center">Cicada · 知了</h1><p align="center">- Live translated subtitles for anything your Mac plays — and your own voice, translated back into the call.+ Every call. Every stream. No language barrier.<br>+ Live subtitles, interpreting and meeting notes for anything your Mac plays.</p><p align="center">- <a href="https://github.com/wquguru/live-subs/releases/latest"><b>Download for macOS</b></a> · <a href="CHANGELOG.md"><b>What’s new</b></a>+ <a href="https://github.com/wquguru/cicada/releases/latest"><b>Download for macOS</b></a> · <a href="CHANGELOG.md"><b>What’s new</b></a></p><p align="center"><img src="https://img.shields.io/badge/macOS-26%2B-black" alt="macOS 26+"><img src="https://img.shields.io/badge/Apple%20silicon-only-black" alt="Apple silicon"><img src="https://img.shields.io/badge/Swift-5-orange" alt="Swift 5">+ <img src="https://img.shields.io/badge/license-Apache--2.0-blue" alt="Apache-2.0"></p><p align="center">- <img src="docs/hero.jpg" width="880" alt="A livestream in English with Live Subs showing the Chinese translation in a subtitle bar">+ <img src="docs/hero.jpg" width="880" alt="A livestream in English with Cicada showing the Chinese translation in a subtitle bar"></p><p align="center"><a href="README.md">English</a> · <a href="README.zh-CN.md">简体中文</a></p>----Live Subs listens to what your Mac is playing — a livestream, a video, a meeting, a voice room — works out which language is being spoken, and shows the translation in a small subtitle bar on top of everything. Recognition happens on your Mac; only the recognised text is sent for translation.+Cicada (知了, “cicada” in Chinese, formerly Live Subs) listens to what your Mac is playing — a livestream, a video, a meeting, a voice room — works out which language is being spoken, and shows the translation in a small subtitle bar on top of everything. Recognition happens on your Mac; only the recognised text is sent for translation.## Features@@ -55,7 +57,7 @@ Live Subs listens to what your Mac is playing — a livestream, a video, a meeti## Installation-Download **`LiveSubs-<version>-macOS-AppleSilicon.dmg`** from [Releases](https://github.com/wquguru/live-subs/releases), open it and drag **Live Subs** into **Applications**. A `.zip` of the app and `checksums.txt` (SHA-256) sit next to it.+Download **`Cicada-<version>-macOS-AppleSilicon.dmg`** from [Releases](https://github.com/wquguru/cicada/releases), open it and drag **Cicada** into **Applications**. A `.zip` of the app and `checksums.txt` (SHA-256) sit next to it.The app is ad-hoc signed (not notarized). On first launch macOS blocks it: open **System Settings › Privacy & Security** and click **Open Anyway**.@@ -71,13 +73,13 @@ The first launch walks you through three steps: turn on **system audio recording### Uninstall-Quit Live Subs and move it to the Trash. Transcripts and recordings stay in `~/Library/Application Support/LiveSubs` until you delete them; settings are in `defaults delete com.wquguru.cicada`.+Quit Cicada and move it to the Trash. Transcripts and recordings stay in `~/Library/Application Support/LiveSubs` until you delete them; settings are in `defaults delete com.wquguru.cicada`.## Development```bash-scripts/build.sh # dev build → build/LiveSubs.app ("Live Subs Dev", runs beside the installed app)-open build/LiveSubs.app+scripts/build.sh # dev build → build/Cicada.app ("Cicada Dev", runs beside the installed app)+open build/Cicada.appscripts/package.sh # release DMG + zip + checksums```diff --git a/README.zh-CN.md b/README.zh-CN.mdindex a23d411..5860802 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -1,32 +1,34 @@<p align="center">- <img src="docs/icon.png" width="128" height="128" alt="Live Subs 图标">+ <img src="docs/icon.png" width="128" height="128" alt="知了图标"></p>-<h1 align="center">Live Subs</h1>+<h1 align="center">知了 · Cicada</h1><p align="center">- Mac 上正在播放的任何声音,都实时翻译成字幕;你说的话,也能翻译成语音发回会议里。+ 任何会议、任何直播,没有语言障碍。<br>+ Mac 上的实时字幕、同声传译和 AI 会议纪要:听得懂,说得出,记得住。</p><p align="center">- <a href="https://github.com/wquguru/live-subs/releases/latest"><b>下载 macOS 版</b></a> · <a href="CHANGELOG.md"><b>更新内容</b></a>+ <a href="https://github.com/wquguru/cicada/releases/latest"><b>下载 macOS 版</b></a> · <a href="CHANGELOG.md"><b>更新内容</b></a></p><p align="center"><img src="https://img.shields.io/badge/macOS-26%2B-black" alt="macOS 26+"><img src="https://img.shields.io/badge/Apple%20silicon-only-black" alt="Apple 芯片"><img src="https://img.shields.io/badge/Swift-5-orange" alt="Swift 5">+ <img src="https://img.shields.io/badge/license-Apache--2.0-blue" alt="Apache-2.0"></p><p align="center">- <img src="docs/hero.jpg" width="880" alt="英文直播画面上,Live Subs 的字幕条显示中文翻译">+ <img src="docs/hero.jpg" width="880" alt="英文直播画面上,知了的字幕条显示中文翻译"></p><p align="center"><a href="README.md">English</a> · <a href="README.zh-CN.md">简体中文</a></p>----Live Subs 听电脑里正在播放的声音,比如直播、视频、会议或语音房。它先判断说的是哪种语言,再把翻译显示在置顶的小字幕条上。语音识别在本机完成,只有识别出的文字会发去翻译。+知了(Cicada,原名 Live Subs)听电脑里正在播放的声音,比如直播、视频、会议或语音房。它先判断说的是哪种语言,再把翻译显示在置顶的小字幕条上。语音识别在本机完成,只有识别出的文字会发去翻译。## 功能@@ -37,7 +39,7 @@ Live Subs 听电脑里正在播放的声音,比如直播、视频、会议或- 鼠标经过时字幕条会变透明,下面的按钮照样能点;- 鼠标停住不动,就可以拖动、缩放字幕条;- ⌃⌥S 随时隐藏或显示。-- **实时纪要**:在 设置 › AI 服务 填上自己的 [Ling](https://chat.ant-ling.com/open) API key(只存在你的 Mac 上,只有你的账户能读),开会时一个悬浮窗口会边听边整理:总结、议题和要点、讨论原因时的鱼骨图、结论和待办、统一写法的人名。窗口可以拖到任何地方、收成小卡(收起后有新内容时会提示)或拉宽和文字记录并排;共享屏幕时别人看不到它。它开着时,左上角有 Live Subs 的菜单(停止记录 ⌘R、收起后的新内容 ⌘J、搜索 ⌘F、窗口大小 ⌘1–⌘3)。会议结束后再整理一遍完整版。同一个 key 还让翻译更准;同声传译时对方可以听到自然的 Ming 声音,或者录 15 秒、用你自己的声音(设置 › 同声传译);没有 key 时其他功能照常。+- **实时纪要**:在 设置 › AI 服务 填上自己的 [Ling](https://chat.ant-ling.com/open) API key(只存在你的 Mac 上,只有你的账户能读),开会时一个悬浮窗口会边听边整理:总结、议题和要点、讨论原因时的鱼骨图、结论和待办、统一写法的人名。窗口可以拖到任何地方、收成小卡(收起后有新内容时会提示)或拉宽和文字记录并排;共享屏幕时别人看不到它。它开着时,左上角有知了的菜单(停止记录 ⌘R、收起后的新内容 ⌘J、搜索 ⌘F、窗口大小 ⌘1–⌘3)。会议结束后再整理一遍完整版。同一个 key 还让翻译更准;同声传译时对方可以听到自然的 Ming 声音,或者录 15 秒、用你自己的声音(设置 › 同声传译);没有 key 时其他功能照常。- **说话也能翻译**:按住右边的 ⌥ 键说话,会议里的人听到的是翻译后的语音。这需要一个虚拟麦克风,在 App 里一键安装。- **会议记录**:每场会议都自动存成双语稿子(录音只存在本机),可以导出 Markdown、Word 或 SRT。- **隐私**:声音采集、语言识别、语音识别都在本机完成。@@ -59,8 +61,8 @@ Live Subs 听电脑里正在播放的声音,比如直播、视频、会议或## 安装-1. 从 [Releases](https://github.com/wquguru/live-subs/releases) 下载 **`LiveSubs-<版本>-macOS-AppleSilicon.dmg`**。旁边还有一个 `.zip` 和 `checksums.txt`(SHA-256 校验值)。-2. 打开 DMG,把 **Live Subs** 拖进「应用程序」。+1. 从 [Releases](https://github.com/wquguru/cicada/releases) 下载 **`Cicada-<版本>-macOS-AppleSilicon.dmg`**。旁边还有一个 `.zip` 和 `checksums.txt`(SHA-256 校验值)。+2. 打开 DMG,把 **知了** 拖进「应用程序」。3. 第一次打开会被系统拦住,因为 App 没有经过公证。去 **系统设置 › 隐私与安全性**,点 **仍要打开**。第一次打开时有三步引导:@@ -82,13 +84,13 @@ Live Subs 听电脑里正在播放的声音,比如直播、视频、会议或### 卸载-退出 Live Subs,把它拖进废纸篓即可。会议稿子和录音保存在 `~/Library/Application Support/LiveSubs`,需要的话手动删除。设置可以用 `defaults delete com.wquguru.cicada` 清除。+退出知了,把它拖进废纸篓即可。会议稿子和录音保存在 `~/Library/Application Support/LiveSubs`,需要的话手动删除。设置可以用 `defaults delete com.wquguru.cicada` 清除。## 开发```bash-scripts/build.sh # 开发版 → build/LiveSubs.app(“Live Subs Dev”,可以和正式版同时运行)-open build/LiveSubs.app+scripts/build.sh # 开发版 → build/Cicada.app(“知了 Dev”,可以和正式版同时运行)+open build/Cicada.appscripts/package.sh # 正式版 DMG、zip 和校验值```diff --git a/Resources/Info.plist b/Resources/Info.plistindex a96b46e..d6c6a08 100644--- a/Resources/Info.plist+++ b/Resources/Info.plist@@ -4,10 +4,17 @@<dict><key>CFBundleDevelopmentRegion</key><string>zh_CN</string>+ <key>CFBundleLocalizations</key>+ <array>+ <string>zh-Hans</string>+ <string>en</string>+ </array>+ <key>LSHasLocalizedDisplayName</key>+ <true/><key>CFBundleDisplayName</key>- <string>Live Subs</string>+ <string>Cicada</string><key>CFBundleExecutable</key>- <string>LiveSubs</string>+ <string>Cicada</string><key>CFBundleIconFile</key><string>AppIcon</string><key>CFBundleIdentifier</key>@@ -15,7 +22,7 @@<key>CFBundleInfoDictionaryVersion</key><string>6.0</string><key>CFBundleName</key>- <string>Live Subs</string>+ <string>Cicada</string><key>CFBundlePackageType</key><string>APPL</string><key>CFBundleShortVersionString</key>@@ -31,12 +38,12 @@<key>NSHighResolutionCapable</key><true/><key>NSHumanReadableCopyright</key>- <string>Copyright © 2026 Live Subs</string>+ <string>Copyright © 2026 知了 Cicada</string><key>NSAudioCaptureUsageDescription</key>- <string>Live Subs 需要读取系统正在播放的声音,用于生成实时字幕。</string>+ <string>知了需要读取系统正在播放的声音,用于生成实时字幕。</string><key>NSMicrophoneUsageDescription</key>- <string>按住快捷键说话时,Live Subs 需要麦克风把你的话翻译成对方的语言。</string>+ <string>按住快捷键说话时,知了需要麦克风把你的话翻译成对方的语言。</string><key>NSSpeechRecognitionUsageDescription</key>- <string>Live Subs 需要语音识别权限,把音频转成文字。</string>+ <string>知了需要语音识别权限,把音频转成文字。</string></dict></plist>diff --git a/Resources/dmg/DS_Store b/Resources/dmg/DS_Storeindex 1b50c2e..92b787a 100644Binary files a/Resources/dmg/DS_Store and b/Resources/dmg/DS_Store differdiff --git a/Resources/en.lproj/InfoPlist.strings b/Resources/en.lproj/InfoPlist.stringsnew file mode 100644index 0000000..803669b--- /dev/null+++ b/Resources/en.lproj/InfoPlist.strings@@ -0,0 +1,2 @@+CFBundleName = "Cicada";+CFBundleDisplayName = "Cicada";diff --git a/Resources/zh-Hans.lproj/InfoPlist.strings b/Resources/zh-Hans.lproj/InfoPlist.stringsnew file mode 100644index 0000000..191d7b6--- /dev/null+++ b/Resources/zh-Hans.lproj/InfoPlist.strings@@ -0,0 +1,2 @@+CFBundleName = "知了";+CFBundleDisplayName = "知了";diff --git a/Sources/LiveSubs/AppMenu.swift b/Sources/LiveSubs/AppMenu.swiftindex 5eda094..e1f4645 100644--- a/Sources/LiveSubs/AppMenu.swift+++ b/Sources/LiveSubs/AppMenu.swift@@ -15,7 +15,7 @@ final class AppMenu: NSObject, NSMenuItemValidation {}func install() {- let name = DevBuild.isDev ? "Live Subs Dev" : "Live Subs"+ let name = appDisplayNamelet main = NSMenu()let app = NSMenu(title: name)diff --git a/Sources/LiveSubs/AppModel.swift b/Sources/LiveSubs/AppModel.swiftindex 629be53..04a0a5e 100644--- a/Sources/LiveSubs/AppModel.swift+++ b/Sources/LiveSubs/AppModel.swift@@ -715,6 +715,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate {model.stop()}+ /// Dock icon or Finder: bring back what is open; the main window only when nothing is.func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool {let open = [mainWindow, settingsWindow, onboardingWindow].compactMap { $0 }.filter { $0.isVisible || $0.isMiniaturized }if open.isEmpty { showMainWindow() } else { open.forEach { $0.deminiaturize(nil) }; NSApp.activate() }@@ -745,7 +746,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate {.font: NSFont.systemFont(ofSize: 9, weight: .heavy),.baselineOffset: 1,])- button.toolTip = "Live Subs Dev · \(DevBuild.label ?? "")"+ button.toolTip = "\(appDisplayName) · \(DevBuild.label ?? "")"}button.action = #selector(togglePopover)button.target = self@@ -777,7 +778,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate {let w = NSWindow(contentRect: NSRect(x: 0, y: 0, width: 1040, height: 700),styleMask: [.titled, .closable, .miniaturizable, .resizable, .fullSizeContentView],backing: .buffered, defer: false)- w.title = DevBuild.isDev ? "Live Subs Dev" : "Live Subs"+ w.title = appDisplayNamew.titlebarAppearsTransparent = truew.titleVisibility = .hiddenw.isReleasedWhenClosed = false@@ -806,8 +807,8 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate {w.delegate = selfw.contentView = NSHostingView(rootView: SettingsView(model: model, settings: model.settings, installer: model.installer))w.center()- settingsWindow = ww.setFrameAutosaveName("LiveSubsSettings")+ settingsWindow = w}model.refreshOutputs()NSApp.setActivationPolicy(.regular)@@ -821,7 +822,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate {let w = NSWindow(contentRect: NSRect(x: 0, y: 0, width: 860, height: 640),styleMask: [.titled, .closable, .fullSizeContentView],backing: .buffered, defer: false)- w.title = "欢迎使用 Live Subs"+ w.title = "欢迎使用\(appDisplayName)"w.titlebarAppearsTransparent = truew.titleVisibility = .hiddenw.isReleasedWhenClosed = false@@ -849,9 +850,9 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate {updateActivationPolicy(closing: w)}- /// A regular app (name and menus top left, Dock icon, ⌘Tab) while any of its windows is- /// open, the notes window included; only the menu bar item otherwise. Never activates: the- /// notes window appearing must not take focus from the meeting app.+ /// A regular app (name and menus top left, Dock icon, ⌘Tab) while the main, settings or+ /// onboarding window is open; only the menu bar item otherwise. The notes window doesn't+ /// count: it floats beside the meeting app and never takes focus from it.func updateActivationPolicy(closing: NSWindow? = nil) {let open = [mainWindow, onboardingWindow, settingsWindow].contains { $0 != nil && $0 != closing && $0!.isVisible }let policy: NSApplication.ActivationPolicy = open ? .regular : .accessorydiff --git a/Sources/LiveSubs/DMGBackground.swift b/Sources/LiveSubs/DMGBackground.swiftindex eabf758..b809708 100644--- a/Sources/LiveSubs/DMGBackground.swift+++ b/Sources/LiveSubs/DMGBackground.swift@@ -1,6 +1,6 @@import AppKit-/// `LiveSubs --render-dmg-background out.png <scale>` draws the installer window's background.+/// `Cicada --render-dmg-background out.png <scale>` draws the installer window's background./// Finder places the icons on top of it at `appIcon` and `applicationsIcon`, so the art leaves/// those spots empty. Keep in step with `scripts/dmg-template.sh`.enum DMGBackground {@@ -34,7 +34,7 @@ enum DMGBackground {ctx.setFillColor(CGColor(srgbRed: 0.965, green: 0.969, blue: 0.976, alpha: 1)) // #F6F7F9ctx.fill(CGRect(origin: .zero, size: size))- text("把 Live Subs 拖进「应用程序」", size: 22, weight: .semibold, color: ink, centerX: size.width / 2, top: 40)+ text("把知了拖进「应用程序」", size: 22, weight: .semibold, color: ink, centerX: size.width / 2, top: 40)text("然后在「应用程序」或启动台里打开它", size: 13, weight: .regular, color: secondary, centerX: size.width / 2, top: 76)// Dotted arrow from the app to Applications.diff --git a/Sources/LiveSubs/Diagnostics.swift b/Sources/LiveSubs/Diagnostics.swiftindex 8d33a38..08c9e5b 100644--- a/Sources/LiveSubs/Diagnostics.swift+++ b/Sources/LiveSubs/Diagnostics.swift@@ -153,7 +153,7 @@ final class Diagnostics: ObservableObject {/// Plain text for "复制诊断信息": numbers only, safe to paste anywhere.func report(version: String, model: String) -> String {func f(_ s: Stat?) -> String { s.map { String(format: "p50 %.2fs p95 %.2fs n=%d", $0.p50, $0.p95, $0.n) } ?? "-" }- var lines = ["Live Subs \(version) 诊断 \(Date())", "模型 \(model)"]+ var lines = ["\(appDisplayName) \(version) 诊断 \(Date())", "模型 \(model)"]if let startedAt { lines.append(String(format: "本场 %.0f 分钟", Date().timeIntervalSince(startedAt) / 60)) }lines.append("说完到出字幕 " + f(endToEnd))lines.append("识别定稿 " + f(recognize))diff --git a/Sources/LiveSubs/SettingsWindow.swift b/Sources/LiveSubs/SettingsWindow.swiftindex 16b8194..0acfb9d 100644--- a/Sources/LiveSubs/SettingsWindow.swift+++ b/Sources/LiveSubs/SettingsWindow.swift@@ -209,7 +209,7 @@ struct TalkKeyPermissionRow: View {}}-let appDisplayName = Bundle.main.object(forInfoDictionaryKey: "CFBundleName") as? String ?? "Live Subs"+let appDisplayName = Bundle.main.object(forInfoDictionaryKey: "CFBundleName") as? String ?? "知了"// MARK: - Virtual microphone checklistdiff --git a/Sources/LiveSubs/SpeakEngine.swift b/Sources/LiveSubs/SpeakEngine.swiftindex 2a5ef8b..c3a6392 100644--- a/Sources/LiveSubs/SpeakEngine.swift+++ b/Sources/LiveSubs/SpeakEngine.swift@@ -12,7 +12,7 @@ struct OutputDevice: Identifiable, Hashable {let name: Stringvar isVirtualMic: Bool {let n = name.lowercased()- return n.contains("blackhole") || n.contains("livesubs") || n.contains("loopback")+ return n.contains("blackhole") || n.contains("livesubs") || n.contains("cicada") || n.contains("loopback")}}@@ -287,7 +287,7 @@ final class SpeakEngine {try mic.start()} catch {debugLog("mic start failed: \(error)")- onStatus?("麦克风无法启动,请在系统设置里允许 Live Subs 使用麦克风")+ onStatus?("麦克风无法启动,请在系统设置里允许\(appDisplayName)使用麦克风")phase = .idle}}diff --git a/Sources/LiveSubs/SystemAudioTap.swift b/Sources/LiveSubs/SystemAudioTap.swiftindex 91d8e1b..4fb4c94 100644--- a/Sources/LiveSubs/SystemAudioTap.swift+++ b/Sources/LiveSubs/SystemAudioTap.swift@@ -75,7 +75,7 @@ final class SystemAudioTap {// Exclude our own process so the app's spoken translations never// come back in as subtitles.let desc = CATapDescription(stereoGlobalTapButExcludeProcesses: Self.ownProcessObject().map { [$0] } ?? [])- desc.name = "Live Subs"+ desc.name = "Cicada"desc.isPrivate = truevar tap = AudioObjectID(kAudioObjectUnknown)@@ -87,7 +87,7 @@ final class SystemAudioTap {let aggregateUID = "com.wquguru.cicada.\(UUID().uuidString)"let aggregate: [String: Any] = [- kAudioAggregateDeviceNameKey: "Live Subs Tap",+ kAudioAggregateDeviceNameKey: "Cicada Tap",kAudioAggregateDeviceUIDKey: aggregateUID,kAudioAggregateDeviceMainSubDeviceKey: outputUID,kAudioAggregateDeviceIsPrivateKey: true,diff --git a/Sources/LiveSubs/Translator.swift b/Sources/LiveSubs/Translator.swiftindex fcaaa38..004ad9a 100644--- a/Sources/LiveSubs/Translator.swift+++ b/Sources/LiveSubs/Translator.swift@@ -28,7 +28,7 @@ struct GoogleTranslator {guard let url = comps.url else { throw TranslateFailure.badURL }var req = URLRequest(url: url)req.timeoutInterval = 8- req.setValue("LiveSubs/1.1", forHTTPHeaderField: "User-Agent")+ req.setValue("Cicada/1.1", forHTTPHeaderField: "User-Agent")let (data, response) = try await URLSession.shared.data(for: req)guard let http = response as? HTTPURLResponse else { throw TranslateFailure.parse }guard http.statusCode == 200 else { throw TranslateFailure.badResponse(http.statusCode) }diff --git a/Sources/LiveSubs/Views.swift b/Sources/LiveSubs/Views.swiftindex de5f0ff..cf44377 100644--- a/Sources/LiveSubs/Views.swift+++ b/Sources/LiveSubs/Views.swift@@ -97,7 +97,7 @@ struct MenuPanelView: View {LogoTile(size: 34)VStack(alignment: .leading, spacing: 3) {HStack(spacing: 6) {- Text("Live Subs").font(.system(size: 15, weight: .bold)).foregroundStyle(Palette.ink)+ Text(appDisplayName).font(.system(size: 15, weight: .bold)).foregroundStyle(Palette.ink)if let dev = DevBuild.label {Text("DEV").font(.system(size: 9, weight: .heavy)).foregroundStyle(.white).padding(.horizontal, 5).padding(.vertical, 1)diff --git a/Sources/LiveSubs/VirtualMic.swift b/Sources/LiveSubs/VirtualMic.swiftindex b8dd345..37d5b92 100644--- a/Sources/LiveSubs/VirtualMic.swift+++ b/Sources/LiveSubs/VirtualMic.swift@@ -73,7 +73,7 @@ final class VirtualMicInstaller: ObservableObject {state = .installingtry? await Task.sleep(nanoseconds: 200_000_000) // let "安装中" show before the dialoglet cmd = "/usr/sbin/installer -pkg " + shellQuote(pkg.path) + " -target / && " + Self.restartAudio- guard runPrivileged(cmd, prompt: "Live Subs 要安装虚拟麦克风,让会议里的人听到你的翻译。") else { return }+ guard runPrivileged(cmd, prompt: "\(appDisplayName)要安装虚拟麦克风,让会议里的人听到你的翻译。") else { return }state = .reloadingawait waitForDevice(onLoaded: onInstalled)}@@ -85,7 +85,7 @@ final class VirtualMicInstaller: ObservableObject {Task {state = .reloadingtry? await Task.sleep(nanoseconds: 200_000_000)- guard runPrivileged(Self.restartAudio, prompt: "Live Subs 要让系统认出虚拟麦克风,声音会断约 1 秒。") else { return }+ guard runPrivileged(Self.restartAudio, prompt: "\(appDisplayName)要让系统认出虚拟麦克风,声音会断约 1 秒。") else { return }await waitForDevice(onLoaded: nil)}}@@ -99,7 +99,7 @@ final class VirtualMicInstaller: ObservableObject {_ = await AVCaptureDevice.requestAccess(for: .audio)}guard AVCaptureDevice.authorizationStatus(for: .audio) == .authorized else {- test = .init(heard: false, text: "", levels: [], problem: "试音要用麦克风权限,请在系统设置里允许 Live Subs")+ test = .init(heard: false, text: "", levels: [], problem: "试音要用麦克风权限,请在系统设置里允许\(appDisplayName)")state = .idlereturn}diff --git a/scripts/build.sh b/scripts/build.shindex 282f78d..979c3cf 100755--- a/scripts/build.sh+++ b/scripts/build.sh@@ -1,6 +1,6 @@#!/usr/bin/env bash-# Builds build/LiveSubs.app (Apple silicon).-# Without RELEASE=1 it is a dev build: "Live Subs Dev", bundle id com.wquguru.cicada.dev (its own+# Builds build/Cicada.app (Apple silicon). Shown as 知了 on Chinese systems, Cicada elsewhere.+# Without RELEASE=1 it is a dev build: "知了 Dev" / "Cicada Dev", bundle id com.wquguru.cicada.dev (its own# settings, permissions and meeting records), stamped with the branch and commit, which show in the# menu bar and panel; its icon carries a "DEV" band. RELEASE=1 builds the real com.wquguru.cicada.set -euo pipefail@@ -10,22 +10,25 @@ swift build -c release --product LiveSubsswift build -c release --product LiveSubsIconBIN=$(swift build -c release --show-bin-path)-APP=build/LiveSubs.app+APP=build/Cicada.appICONSET=build/AppIcon.iconset-rm -rf "$APP" "$ICONSET"+rm -rf "$APP" "$ICONSET" build/LiveSubs.appmkdir -p "$APP/Contents/MacOS" "$APP/Contents/Resources"-cp "$BIN/LiveSubs" "$APP/Contents/MacOS/LiveSubs"+cp "$BIN/LiveSubs" "$APP/Contents/MacOS/Cicada"cp Resources/Info.plist "$APP/Contents/Info.plist"cp Resources/sample/sample.mp4 Resources/sample/sample.m4a "$APP/Contents/Resources/"+cp -R Resources/zh-Hans.lproj Resources/en.lproj "$APP/Contents/Resources/"PLIST="$APP/Contents/Info.plist"if [[ "${RELEASE:-}" != 1 ]]; thenSTAMP="$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo local) @ $(git rev-parse --short HEAD 2>/dev/null || echo none)"[[ -n "$(git status --porcelain --untracked-files=no 2>/dev/null)" ]] && STAMP+="+"/usr/libexec/PlistBuddy -c "Set :CFBundleIdentifier com.wquguru.cicada.dev" \- -c "Set :CFBundleName Live Subs Dev" -c "Set :CFBundleDisplayName Live Subs Dev" \+ -c "Set :CFBundleName Cicada Dev" -c "Set :CFBundleDisplayName Cicada Dev" \-c "Add :LiveSubsDev string $STAMP" "$PLIST"+ printf 'CFBundleName = "知了 Dev";\nCFBundleDisplayName = "知了 Dev";\n' > "$APP/Contents/Resources/zh-Hans.lproj/InfoPlist.strings"+ printf 'CFBundleName = "Cicada Dev";\nCFBundleDisplayName = "Cicada Dev";\n' > "$APP/Contents/Resources/en.lproj/InfoPlist.strings"fiif [[ -n "${BUILD_NUMBER:-}" ]]; then/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $BUILD_NUMBER" "$PLIST"diff --git a/scripts/dmg-template.sh b/scripts/dmg-template.shindex 06e1643..e0e336c 100755--- a/scripts/dmg-template.sh+++ b/scripts/dmg-template.sh@@ -6,21 +6,21 @@set -euo pipefailcd "$(dirname "$0")/.."-[[ -d build/LiveSubs.app && -f build/dmg/background.tiff ]] || { echo "run scripts/package.sh first" >&2; exit 1; }+[[ -d build/Cicada.app && -f build/dmg/background.tiff ]] || { echo "run scripts/package.sh first" >&2; exit 1; }# A neutral scratch path: Finder records the disk image path in the layout.-WORK=/tmp/livesubs-dmg-template-[[ ! -e "/Volumes/Live Subs" ]] || { echo "eject the volume named Live Subs first" >&2; exit 1; }+WORK=/tmp/cicada-dmg-template+[[ ! -e "/Volumes/Cicada" ]] || { echo "eject the volume named Cicada first" >&2; exit 1; }rm -rf "$WORK" && mkdir -p "$WORK/stage/.background"-cp -R build/LiveSubs.app "$WORK/stage/"+cp -R build/Cicada.app "$WORK/stage/"ln -s /Applications "$WORK/stage/Applications"cp build/dmg/background.tiff "$WORK/stage/.background/background.tiff"-hdiutil create -quiet -srcfolder "$WORK/stage" -volname "Live Subs" -fs HFS+ -format UDRW -size 60m "$WORK/rw.dmg"+hdiutil create -quiet -srcfolder "$WORK/stage" -volname "Cicada" -fs HFS+ -format UDRW -size 60m "$WORK/rw.dmg"hdiutil attach -quiet -readwrite -noverify -noautoopen "$WORK/rw.dmg"# Window 640 × 400 of content (428 with the title bar); icons at the background's marks.osascript <<'APPLESCRIPT'tell application "Finder"- tell disk "Live Subs"+ tell disk "Cicada"openset current view of container window to icon viewset toolbar visible of container window to false@@ -31,7 +31,7 @@ tell application "Finder"set icon size of opts to 112set text size of opts to 13set background picture of opts to file ".background:background.tiff"- set position of item "LiveSubs.app" of container window to {170, 205}+ set position of item "Cicada.app" of container window to {170, 205}set position of item "Applications" of container window to {470, 205}update without registering applicationsdelay 2@@ -42,7 +42,7 @@ APPLESCRIPTsyncmkdir -p Resources/dmg-cp "/Volumes/Live Subs/.DS_Store" Resources/dmg/DS_Store-hdiutil detach "/Volumes/Live Subs" -quiet+cp "/Volumes/Cicada/.DS_Store" Resources/dmg/DS_Store+hdiutil detach "/Volumes/Cicada" -quietrm -rf "$WORK"echo "Updated Resources/dmg/DS_Store"diff --git a/scripts/package.sh b/scripts/package.shindex 5e7d9f0..ff1067b 100755--- a/scripts/package.sh+++ b/scripts/package.sh@@ -1,30 +1,30 @@#!/usr/bin/env bash# Builds the release app and packages it in build/:-# LiveSubs-<version>-macOS-AppleSilicon.dmg drag-to-Applications installer (recommended download)-# LiveSubs-<version>-macOS-AppleSilicon.zip the bare app+# Cicada-<version>-macOS-AppleSilicon.dmg drag-to-Applications installer (recommended download)+# Cicada-<version>-macOS-AppleSilicon.zip the bare app# checksums.txt SHA-256 of bothset -euo pipefailcd "$(dirname "$0")/.."RELEASE=1 scripts/build.sh-APP=build/LiveSubs.app+APP=build/Cicada.appID=$(/usr/libexec/PlistBuddy -c "Print CFBundleIdentifier" "$APP/Contents/Info.plist")[[ "$ID" == com.wquguru.cicada ]] || { echo "Not a release build: $ID" >&2; exit 1; }VERSION=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" Resources/Info.plist)-NAME="LiveSubs-$VERSION-macOS-AppleSilicon"-rm -f build/LiveSubs-*.zip build/LiveSubs-*.dmg build/checksums.txt+NAME="Cicada-$VERSION-macOS-AppleSilicon"+rm -f build/Cicada-*.zip build/Cicada-*.dmg build/LiveSubs-*.zip build/LiveSubs-*.dmg build/checksums.txtditto -c -k --keepParent "$APP" "build/$NAME.zip"# Installer window background, drawn by the app itself at 1x and 2x.rm -rf build/dmg && mkdir -p build/dmg-"$APP/Contents/MacOS/LiveSubs" --render-dmg-background build/dmg/background.png 1-"$APP/Contents/MacOS/LiveSubs" --render-dmg-background build/dmg/[email protected] 2+"$APP/Contents/MacOS/Cicada" --render-dmg-background build/dmg/background.png 1+"$APP/Contents/MacOS/Cicada" --render-dmg-background build/dmg/[email protected] 2tiffutil -cathidpicheck build/dmg/background.png build/dmg/[email protected] -out build/dmg/background.tiff 2>/dev/null# The window layout is a Finder-made .DS_Store kept in the repo (scripts/dmg-template.sh), so# packaging needs no Finder scripting and works in CI. Without it the DMG still works, just-# without the arranged window. The volume is always named "Live Subs".+# without the arranged window. The volume is always named "Cicada".STAGE=build/dmg/stageMOUNT=build/dmg/mountmkdir -p "$STAGE/.background" "$MOUNT"@@ -33,12 +33,12 @@ ln -s /Applications "$STAGE/Applications"cp build/dmg/background.tiff "$STAGE/.background/background.tiff"[[ -f Resources/dmg/DS_Store ]] && cp Resources/dmg/DS_Store "$STAGE/.DS_Store"cp "$APP/Contents/Resources/AppIcon.icns" "$STAGE/.VolumeIcon.icns"-hdiutil create -quiet -srcfolder "$STAGE" -volname "Live Subs" -fs HFS+ -format UDRW -ov build/dmg/rw.dmg+hdiutil create -quiet -srcfolder "$STAGE" -volname "Cicada" -fs HFS+ -format UDRW -ov build/dmg/rw.dmghdiutil attach -quiet -readwrite -noverify -noautoopen -nobrowse -mountpoint "$MOUNT" build/dmg/rw.dmgSetFile -a C "$MOUNT" 2>/dev/null || truehdiutil detach -quiet "$MOUNT"hdiutil convert -quiet build/dmg/rw.dmg -format UDZO -imagekey zlib-level=9 -ov -o "build/$NAME.dmg"-# Drop the staged copy so Spotlight and Launch Services don't list a second LiveSubs.app.+# Drop the staged copy so Spotlight and Launch Services don't list a second Cicada.app.rm -rf "$STAGE" "$MOUNT" build/dmg/rw.dmg(cd build && shasum -a 256 "$NAME.dmg" "$NAME.zip" > checksums.txt)diff --git a/scripts/release.sh b/scripts/release.shindex 9ba979e..087ea3d 100755--- a/scripts/release.sh+++ b/scripts/release.sh@@ -18,6 +18,6 @@ if [[ "$CURRENT" != "$VERSION" ]]; then/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $VERSION" Resources/Info.plistgit commit -m "Release v$VERSION" Resources/Info.plistfi-git tag -a "v$VERSION" -m "Live Subs $VERSION"+git tag -a "v$VERSION" -m "知了 Cicada $VERSION"git push origin main "v$VERSION"-echo "Pushed v$VERSION; follow it at https://github.com/wquguru/live-subs/actions/workflows/release.yml"+echo "Pushed v$VERSION; follow it at https://github.com/wquguru/cicada/actions/workflows/release.yml"diff --git a/scripts/site.py b/scripts/site.pyindex cc126c2..ecb11cb 100755--- a/scripts/site.py+++ b/scripts/site.py@@ -20,8 +20,8 @@ from datetime import datetime, timezoneROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))SRC = os.path.join(ROOT_DIR, "site")OUT = os.path.join(ROOT_DIR, "build", "site")-SITE = (os.environ.get("SITE_URL") or "https://wquguru.github.io/live-subs/").rstrip("/") + "/"-REPO = "https://github.com/wquguru/live-subs"+SITE = (os.environ.get("SITE_URL") or "https://wquguru.github.io/cicada/").rstrip("/") + "/"+REPO = "https://github.com/wquguru/cicada"DOWNLOAD = REPO + "/releases/latest"STATIC = ["style.css", "icon.svg", "icon.png", "og.png", "img"]APPS = ["Zoom", "Microsoft Teams", "飞书", "腾讯会议", "Google Meet", "X Spaces", "YouTube 直播",diff --git "a/\345\220\257\345\212\250\345\255\227\345\271\225.command" "b/\345\220\257\345\212\250\345\255\227\345\271\225.command"index b63248e..78baafd 100755--- "a/\345\220\257\345\212\250\345\255\227\345\271\225.command"+++ "b/\345\220\257\345\212\250\345\255\227\345\271\225.command"@@ -1,4 +1,4 @@#!/bin/bash# Opens the installed app, or the one built in this checkout.cd "$(dirname "$0")"-if [ -d "/Applications/LiveSubs.app" ]; then open "/Applications/LiveSubs.app"; else open "build/LiveSubs.app"; fi+if [ -d "/Applications/Cicada.app" ]; then open "/Applications/Cicada.app"; else open "build/Cicada.app"; fi