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.

fix(windows): Windows downloads are named like the other platforms' (Cicada-<version>-Windows-x64.exe / -ARM64.exe), with no zips

wquguru61ff77007536
diff --git a/.github/release-notes-windows.md b/.github/release-notes-windows.md
index f83c66d..ed54938 100644
--- a/.github/release-notes-windows.md
+++ b/.github/release-notes-windows.md
@@ -1,2 +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.
+**Windows** (Windows 10 2004 or later): download `Cicada-<version>-Windows-x64.exe` (`Cicada-<version>-Windows-ARM64.exe` on Snapdragon laptops) and double-click it; it installs without admin rights. If SmartScreen stops it: **More info › Run anyway**.
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e35824f..8c56a4a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -91,7 +91,7 @@ jobs:
windows/build/tests/Cicada.Tests.exe
- name: Translations
run: python windows/scripts/strings.py
- - name: Build and zip
+ - name: Build
shell: pwsh
run: |
$v = "$env:TAG".TrimStart("v")
@@ -100,17 +100,16 @@ jobs:
$out = "windows/build/Cicada-$($pair[0])"
dotnet publish windows/src/Cicada -c Release -r $pair[0] -o $out -p:DebugType=embedded
if ($LASTEXITCODE -ne 0) { exit 1 }
- # The zip stays: older Cicadas only look for it when checking for updates.
- Compress-Archive -Path "$out/*" -DestinationPath "dist/Cicada-$v-Windows-$($pair[1]).zip"
- # The download for people: the same exe, which installs itself (Install.cs).
+ # The download: the app's exe, which installs itself (Install.cs) and is what updates fetch.
+ Copy-Item "$out/Cicada.exe" "dist/Cicada-$v-Windows-$($pair[1]).exe"
+ # The same exe under 1.1.0's names: Cicada 1.1.0 only looks for these when checking for
+ # updates. Drop once few people are left on 1.1.0.
Copy-Item "$out/Cicada.exe" "dist/Cicada-Setup$(if ($pair[1] -eq 'ARM64') { '-arm64' }).exe"
}
- uses: actions/upload-artifact@v4
with:
name: windows
- path: |
- dist/*.zip
- dist/*.exe
+ path: dist/*.exe
# The voiceprint library (说话人识别) for each architecture, on 22.04 so it loads on 22.04 and 24.04.
linux-native:
diff --git a/scripts/site.py b/scripts/site.py
index dbcc533..7f90442 100755
--- a/scripts/site.py
+++ b/scripts/site.py
@@ -31,15 +31,16 @@ OUT = os.path.join(ROOT_DIR, "build", "site")
SITE = (os.environ.get("SITE_URL") or "https://cicada.indaloop.app/").rstrip("/") + "/"
REPO = "https://github.com/wquguru/cicada"
DOWNLOAD = REPO + "/releases/latest"
-# The files each platform's release carries (release.yml); {v} is the version. The Windows installer
-# has no version in its name: Cicada.exe installs and updates itself from it.
+# The files each platform's release carries (release.yml); {v} is the version.
PLATFORMS = ["mac", "windows", "linux", "android"]
ASSETS = {
"mac": {"dmg": "Cicada-{v}-macOS-AppleSilicon.dmg", "zip": "Cicada-{v}-macOS-AppleSilicon.zip"},
- "windows": {"x64": "Cicada-Setup.exe", "arm64": "Cicada-Setup-arm64.exe"},
+ "windows": {"x64": "Cicada-{v}-Windows-x64.exe", "arm64": "Cicada-{v}-Windows-ARM64.exe"},
"linux": {"tar": "Cicada-{v}-Linux.tar.gz"},
"android": {"apk": "Cicada-{v}-Android.apk"},
}
+# Releases whose files were named otherwise: Windows 1.1.0 only has Cicada-Setup.exe and -arm64.exe.
+OLD_ASSETS = {("windows", "1.1.0"): {"x64": "Cicada-Setup.exe", "arm64": "Cicada-Setup-arm64.exe"}}
# The author on X: the app is not notarized yet, so a real person to ask helps people trust the first launch.
X = "https://x.com/wquguru"
STATIC = ["style.css", "icon.svg", "icon.png", "og.png", "og-en.png", "og-ja.png", "og-ko.png", "img", "audio"]
@@ -145,7 +146,7 @@ def downloads(released):
for p in shipped.get(r["version"], ()):
if p not in out:
v = r["version"]
- out[p] = (v, {k: f"{REPO}/releases/download/v{v}/{name.format(v=v)}" for k, name in ASSETS[p].items()})
+ out[p] = (v, {k: f"{REPO}/releases/download/v{v}/{name.format(v=v)}" for k, name in OLD_ASSETS.get((p, v), ASSETS[p]).items()})
return out
diff --git a/windows/README.md b/windows/README.md
index bc105a7..7ace360 100644
--- a/windows/README.md
+++ b/windows/README.md
@@ -5,7 +5,7 @@ Cicada 的 Windows 版:把电脑播放的声音变成双语字幕和实时纪
- 抓声音:WASAPI 进程回环,排除知了自己(Windows 10 2004 起)。
- 识别:Ming(`Ming-3.0-audio-flash`)分段识别,一次请求同时返回语言、原文和译文;需要 Ling key。
- 纪要、记录格式、提示词、多语言文案都和 Mac 版一致;文案的英日韩翻译直接用 `Resources/*.lproj/Localizable.strings`,Windows 独有的在 `src/Cicada/Strings/`。
-- 新版本:启动时和每 4 小时查一次 GitHub Releases(`UpdateChecker`),只认带 Windows 安装包或 zip 的发布;有新版本时托盘图标出现红点、每个版本发一次通知(正在听时等会议结束),托盘面板和设置 › 关于也会提示。点“安装”由知了自己下载这台电脑对应架构的 `Cicada-Setup.exe`、对照 `checksums.txt` 校验后安装并重新打开,不经过浏览器,所以 SmartScreen 不拦;只有 zip 的旧版本仍用浏览器下载。开发版只在设了 `CICADA_UPDATE_FEED` 或用 `updatefeed` 调试命令时才查。
+- 新版本:启动时和每 4 小时查一次 GitHub Releases(`UpdateChecker`),只认带 Windows 安装包的发布;有新版本时托盘图标出现红点、每个版本发一次通知(正在听时等会议结束),托盘面板和设置 › 关于也会提示。点“安装”由知了自己下载这台电脑对应架构的 `Cicada-<版本>-Windows-x64.exe` / `-ARM64.exe`(1.1.0 只认 `Cicada-Setup.exe` 这两个旧名字,发布时一并附上)、对照 `checksums.txt` 校验后安装并重新打开,不经过浏览器,所以 SmartScreen 不拦。开发版只在设了 `CICADA_UPDATE_FEED` 或用 `updatefeed` 调试命令时才查。
## 目录
diff --git a/windows/scripts/build.sh b/windows/scripts/build.sh
index 2ff4dde..c79535c 100755
--- a/windows/scripts/build.sh
+++ b/windows/scripts/build.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Builds the Windows app on the Mac: build/Cicada-win-x64/ and build/Cicada-win-arm64/, each a
# self-contained Cicada.exe with everything inside it. RELEASE=1 for a release build, which also
-# writes build/Cicada-Setup.exe and Cicada-Setup-arm64.exe (the same exe, for people to download);
+# writes build/Cicada-<v>-Windows-x64.exe and -ARM64.exe (the same exe, for people to download);
# else a dev build, which keeps its records under "Cicada Dev" and opens the debug pipe.
set -euo pipefail
cd "$(dirname "$0")/.."
@@ -41,10 +41,11 @@ for rid in win-x64 win-arm64; do
rm -rf "$out"
scripts/dotnet.sh publish src/Cicada -c "$config" -r "$rid" -o "$out" -p:DebugType=embedded -v quiet -nologo 2>&1 | grep -E ' error |warning CS' | sort -u || true
[ -f "$out/Cicada.exe" ] || { echo "build failed for $rid" >&2; exit 1; }
- # The exe is the whole app (the UI text and the sample are inside it): Cicada-Setup.exe is a copy.
+ # The exe is the whole app (the UI text and the sample are inside it): the installer is a copy.
[ "$(ls "$out" | grep -v '^Cicada.exe$' | grep -v '^test$' | grep -v '^Cicada Dev.cmd$' || true)" = "" ] || { echo "unexpected files beside Cicada.exe in $out: $(ls "$out")" >&2; exit 1; }
if [ "$config" = Release ]; then
- setup=build/Cicada-Setup.exe; [ "$rid" = win-arm64 ] && setup=build/Cicada-Setup-arm64.exe
+ arch=x64; [ "$rid" = win-arm64 ] && arch=ARM64
+ setup="build/Cicada-$(cat "$root/VERSION")-Windows-$arch.exe"
cp "$out/Cicada.exe" "$setup"; echo "$setup"
fi
if [ "$config" = Debug ]; then
diff --git a/windows/src/Cicada.Core/Setup.cs b/windows/src/Cicada.Core/Setup.cs
index 0cd993c..3f2454f 100644
--- a/windows/src/Cicada.Core/Setup.cs
+++ b/windows/src/Cicada.Core/Setup.cs
@@ -1,6 +1,6 @@
namespace Cicada;
-/// What a launch of the release exe should do. Cicada-Setup.exe is Cicada.exe under another name:
+/// What a launch of the release exe should do. The downloaded installer is Cicada.exe under another name:
/// a copy that isn't the installed one installs itself into the user's folder (no admin), so
/// autostart, the Start menu and updates always point at one place.
public static class SetupPlan
diff --git a/windows/src/Cicada.Core/UpdateChecker.cs b/windows/src/Cicada.Core/UpdateChecker.cs
index 02b7022..4d83e3a 100644
--- a/windows/src/Cicada.Core/UpdateChecker.cs
+++ b/windows/src/Cicada.Core/UpdateChecker.cs
@@ -9,11 +9,11 @@ namespace Cicada;
/// UpdateChecker: at launch, then whenever the last answer is 4 hours old (a 15-minute tick, so a
/// laptop that sleeps a lot still checks), and when the tray panel opens once it is an hour old.
/// Failures (offline, rate-limited, the repository not public: 404) are silent. This only finds
-/// the update; the app offers Cicada-Setup.exe for download, which upgrades the installed copy
-/// when opened (older releases only have the zip).
+/// the update; the app offers the release's installer (Cicada-<v>-Windows-<arch>.exe) for download,
+/// which upgrades the installed copy when opened.
public sealed class UpdateChecker
{
- /// `Setup` is this PC's Cicada-Setup exe when the release has one; `Size` is the download's;
+ /// `Setup` is this PC's installer when the release has one; `Size` is the download's;
/// `Checksums` the release's checksums.txt, which the in-app download is checked against.
public sealed record Update(string Version, string Page, string? Zip, long Size, string? Setup = null, string? Checksums = null)
{
@@ -124,7 +124,7 @@ public sealed class UpdateChecker
{
if (r.Draft || r.Prerelease || r.Assets is null) continue;
var zip = r.Assets.FirstOrDefault(a => IsZip(a.Name, arch)) ?? (arch == "x64" ? null : r.Assets.FirstOrDefault(a => IsZip(a.Name, "x64")));
- var setup = r.Assets.FirstOrDefault(a => a.Name == SetupName(arch)) ?? (arch == "x64" ? null : r.Assets.FirstOrDefault(a => a.Name == SetupName("x64")));
+ var setup = r.Assets.FirstOrDefault(a => IsSetup(a.Name, arch)) ?? (arch == "x64" ? null : r.Assets.FirstOrDefault(a => IsSetup(a.Name, "x64")));
if (zip is null && setup is null) continue;
var sums = r.Assets.FirstOrDefault(a => a.Name == "checksums.txt");
var u = new Update(r.TagName.TrimStart('v'), r.HtmlUrl, zip?.Url, (setup ?? zip)!.Size, setup?.Url, sums?.Url);
@@ -134,8 +134,12 @@ public sealed class UpdateChecker
static bool IsZip(string name, string arch) => name.StartsWith("Cicada-") && name.EndsWith($"-Windows-{arch}.zip");
}
- /// The installer's release asset: no version in the name, so the site's link never goes stale.
- public static string SetupName(string arch) => arch == "ARM64" ? "Cicada-Setup-arm64.exe" : "Cicada-Setup.exe";
+ /// The installer's release asset, named like every platform's file: Cicada-1.2.0-Windows-x64.exe.
+ /// 1.1.0 named it Cicada-Setup.exe / Cicada-Setup-arm64.exe and only finds those, so releases
+ /// still carry copies under the old names (release.yml) and this accepts both.
+ public static bool IsSetup(string name, string arch) =>
+ (name.StartsWith("Cicada-") && name.EndsWith($"-Windows-{arch}.exe")) || name == LegacySetupName(arch);
+ public static string LegacySetupName(string arch) => arch == "ARM64" ? "Cicada-Setup-arm64.exe" : "Cicada-Setup.exe";
/// One notification per version (the version last told is kept in settings), and none while
/// listening: the next stop tells. Full screen and screen sharing are Windows' Do Not Disturb.
diff --git a/windows/src/Cicada/App.cs b/windows/src/Cicada/App.cs
index 84cfff6..462a32a 100644
--- a/windows/src/Cicada/App.cs
+++ b/windows/src/Cicada/App.cs
@@ -788,7 +788,7 @@ static class DebugServer
if (line != "setup status") Log.Debug($"debug: {parts[0]}");
switch (parts[0])
{
- // Cicada-Setup.exe (Install.cs): is a meeting on, quit for the new copy, show yourself.
+ // The installer (Install.cs): is a meeting on, quit for the new copy, show yourself.
case "setup": return arg switch
{
"status" => new JsonObject { ["listening"] = app.Listen.Listening },
diff --git a/windows/src/Cicada/Bundled.cs b/windows/src/Cicada/Bundled.cs
index 1adc446..fcf246a 100644
--- a/windows/src/Cicada/Bundled.cs
+++ b/windows/src/Cicada/Bundled.cs
@@ -3,7 +3,7 @@ using System.Text;
namespace Cicada.App;
/// Files carried inside Cicada.exe (EmbeddedResource in Cicada.csproj), so the exe alone is the
-/// whole app: Cicada-Setup.exe is downloaded as one file and installs by copying itself.
+/// whole app: the installer is downloaded as one file and installs by copying itself.
static class Bundled
{
static readonly System.Reflection.Assembly Self = typeof(Bundled).Assembly;
diff --git a/windows/src/Cicada/Cicada.csproj b/windows/src/Cicada/Cicada.csproj
index a8f8b2e..70f2191 100644
--- a/windows/src/Cicada/Cicada.csproj
+++ b/windows/src/Cicada/Cicada.csproj
@@ -25,7 +25,7 @@
<Using Remove="System.Windows.Forms" />
<Using Remove="System.Drawing" />
<Using Include="System.IO" />
- <!-- The UI text, inside the exe (Bundled.cs reads it): Cicada-Setup.exe is this one file, so it
+ <!-- The UI text, inside the exe (Bundled.cs reads it): the installer is this one file, so it
must speak the user's language before anything is installed. -->
<EmbeddedResource Include="../../../Resources/**/Localizable.strings" LogicalName="strings/%(RecursiveDir)%(Filename)%(Extension)" />
<EmbeddedResource Include="Strings/**/Windows.strings" LogicalName="strings/%(RecursiveDir)%(Filename)%(Extension)" />
diff --git a/windows/src/Cicada/Strings/en.lproj/Windows.strings b/windows/src/Cicada/Strings/en.lproj/Windows.strings
index 1b6315f..d609c71 100644
--- a/windows/src/Cicada/Strings/en.lproj/Windows.strings
+++ b/windows/src/Cicada/Strings/en.lproj/Windows.strings
@@ -177,7 +177,7 @@
"下载后解压,替换旧的知了" = "Unzip it and replace the old Cicada";
"下载" = "Download";
-/* Cicada-Setup.exe: install, update, uninstall */
+/* The installer: install, update, uninstall */
"知了已更新到 %@" = "Cicada is updated to %@";
"会议记录、设置和 Ling key 都在。" = "Your meetings, settings and Ling key are all still here.";
"知了已经装好了" = "Cicada is already installed";
diff --git a/windows/src/Cicada/Strings/ja.lproj/Windows.strings b/windows/src/Cicada/Strings/ja.lproj/Windows.strings
index d7eddc0..cb28fef 100644
--- a/windows/src/Cicada/Strings/ja.lproj/Windows.strings
+++ b/windows/src/Cicada/Strings/ja.lproj/Windows.strings
@@ -177,7 +177,7 @@
"下载后解压,替换旧的知了" = "展開して古い Cicada と置き換えてください";
"下载" = "ダウンロード";
-/* Cicada-Setup.exe: install, update, uninstall */
+/* The installer: install, update, uninstall */
"知了已更新到 %@" = "Cicada を %@ に更新しました";
"会议记录、设置和 Ling key 都在。" = "会議記録・設定・Ling キーはそのままです。";
"知了已经装好了" = "Cicada はインストール済みです";
diff --git a/windows/src/Cicada/Strings/ko.lproj/Windows.strings b/windows/src/Cicada/Strings/ko.lproj/Windows.strings
index 018c5dc..9dd5b7a 100644
--- a/windows/src/Cicada/Strings/ko.lproj/Windows.strings
+++ b/windows/src/Cicada/Strings/ko.lproj/Windows.strings
@@ -177,7 +177,7 @@
"下载后解压,替换旧的知了" = "압축을 풀어 이전 Cicada를 교체하세요";
"下载" = "다운로드";
-/* Cicada-Setup.exe: install, update, uninstall */
+/* The installer: install, update, uninstall */
"知了已更新到 %@" = "Cicada를 %@(으)로 업데이트했어요";
"会议记录、设置和 Ling key 都在。" = "회의 기록, 설정, Ling 키는 그대로예요.";
"知了已经装好了" = "Cicada가 이미 설치되어 있어요";
diff --git a/windows/tests/Cicada.Tests/Program.cs b/windows/tests/Cicada.Tests/Program.cs
index 3dea4f9..2485460 100644
--- a/windows/tests/Cicada.Tests/Program.cs
+++ b/windows/tests/Cicada.Tests/Program.cs
@@ -35,12 +35,12 @@ static class Tests
if (!EqualityComparer<T>.Default.Equals(expected, actual)) throw new Exception($"{what}: expected «{expected}», got «{actual}»");
}
- // MARK: Cicada-Setup.exe
+ // MARK: the installer
public static void SetupDecidesFromWhereItRuns()
{
const string home = @"C:\Users\a\AppData\Local\Programs\Cicada\Cicada.exe";
- const string download = @"C:\Users\a\Downloads\Cicada-Setup.exe";
+ const string download = @"C:\Users\a\Downloads\Cicada-1.1.0-Windows-x64.exe";
Equal(SetupPlan.Step.Run, SetupPlan.Decide(false, home, home, "1.4.0", "1.4.0"), "the installed copy just runs");
Equal(SetupPlan.Step.Run, SetupPlan.Decide(false, @"c:\users\A\appdata\local\programs\cicada\CICADA.EXE", home, "1.4.0", "1.4.0"), "paths compare without case");
Equal(SetupPlan.Step.Run, SetupPlan.Decide(true, download, home, null, "1.4.0"), "a dev build never installs");
@@ -903,24 +903,24 @@ static class Tests
Check(UpdateChecker.ShouldNotify("1.2.0", "1.1.0", false), "a newer version");
Check(!UpdateChecker.ShouldNotify("1.1.0", "1.1.0", false), "already told");
Check(!UpdateChecker.ShouldNotify("1.1.0", null, true), "held while listening");
- Equal("ab12", UpdateChecker.ChecksumFor("ff00 Cicada-1.1.0-Windows-x64.zip\nAB12 *Cicada-Setup.exe\n", "Cicada-Setup.exe"), "sha256sum line");
- Equal(null, UpdateChecker.ChecksumFor("ff00 Cicada-Setup-arm64.exe", "Cicada-Setup.exe"), "other file");
+ Equal("ab12", UpdateChecker.ChecksumFor("ff00 Cicada-1.1.0-Windows-ARM64.exe\nAB12 *Cicada-1.1.0-Windows-x64.exe\n", "Cicada-1.1.0-Windows-x64.exe"), "sha256sum line");
+ Equal(null, UpdateChecker.ChecksumFor("ff00 Cicada-1.1.0-Windows-ARM64.exe", "Cicada-1.1.0-Windows-x64.exe"), "other file");
}
/// The in-app download: the installer is kept only when it matches checksums.txt.
public static async Task UpdateDownloadChecksTheInstaller()
{
var dir = Directory.CreateTempSubdirectory("cicada-upd-").FullName;
- var exe = Path.Combine(dir, "Cicada-Setup.exe");
+ var exe = Path.Combine(dir, "Cicada-1.1.0-Windows-x64.exe");
File.WriteAllText(exe, "installer");
var sha = Convert.ToHexStringLower(System.Security.Cryptography.SHA256.HashData(File.ReadAllBytes(exe)));
- File.WriteAllText(Path.Combine(dir, "checksums.txt"), $"{sha} Cicada-Setup.exe\n");
- File.WriteAllText(Path.Combine(dir, "bad.txt"), "0000 Cicada-Setup.exe\n");
+ File.WriteAllText(Path.Combine(dir, "checksums.txt"), $"{sha} Cicada-1.1.0-Windows-x64.exe\n");
+ File.WriteAllText(Path.Combine(dir, "bad.txt"), "0000 Cicada-1.1.0-Windows-x64.exe\n");
var checker = new UpdateChecker(null, _ => { });
var u = new UpdateChecker.Update("1.1.0", "https://example.com", null, 9, new Uri(exe).AbsoluteUri, new Uri(Path.Combine(dir, "checksums.txt")).AbsoluteUri);
var got = await checker.Download(u);
Equal("installer", File.ReadAllText(got), "downloaded copy");
- Check(got != exe && Path.GetFileName(got) == "Cicada-Setup.exe", "into its own folder, same name");
+ Check(got != exe && Path.GetFileName(got) == "Cicada-1.1.0-Windows-x64.exe", "into its own folder, same name");
try { await checker.Download(u with { Checksums = new Uri(Path.Combine(dir, "bad.txt")).AbsoluteUri }); throw new Exception("bad checksum accepted"); }
catch (UpdateChecker.Failure f) { Equal("下载的文件校验不通过", f.Key, "bad checksum refused"); }
try { await checker.Download(u with { Setup = null }); throw new Exception("zip-only accepted"); }
@@ -953,10 +953,10 @@ static class Tests
var withSetup = UpdateChecker.Decode("""
[{"tag_name":"v1.6.0","html_url":"https://example.com/r","assets":[
{"name":"Cicada-1.6.0-Windows-x64.zip","browser_download_url":"https://example.com/z","size":5},
- {"name":"Cicada-Setup.exe","browser_download_url":"https://example.com/setup","size":7},
- {"name":"Cicada-Setup-arm64.exe","browser_download_url":"https://example.com/setup-arm","size":8}]},
+ {"name":"Cicada-1.6.0-Windows-x64.exe","browser_download_url":"https://example.com/setup","size":7},
+ {"name":"Cicada-1.6.0-Windows-ARM64.exe","browser_download_url":"https://example.com/setup-arm","size":8}]},
{"tag_name":"v1.7.0","html_url":"https://example.com/r2","assets":[
- {"name":"Cicada-Setup.exe","browser_download_url":"https://example.com/setup2","size":9}]}]
+ {"name":"Cicada-1.7.0-Windows-x64.exe","browser_download_url":"https://example.com/setup2","size":9}]}]
""")!;
var x = UpdateChecker.NewestWindows(withSetup, "x64")!;
Equal("1.7.0", x.Version, "a release with only the installer counts");
@@ -964,6 +964,14 @@ static class Tests
var older = UpdateChecker.NewestWindows(withSetup.Take(1), "ARM64")!;
Equal("https://example.com/setup-arm", older.Download, "ARM's installer");
Equal(8L, older.Size, "its size");
+ // 1.1.0's installer names still count, so a release carrying only those is found too.
+ var legacy = UpdateChecker.Decode("""
+ [{"tag_name":"v1.1.0","html_url":"https://example.com/r","assets":[
+ {"name":"Cicada-Setup.exe","browser_download_url":"https://example.com/old","size":3},
+ {"name":"Cicada-Setup-arm64.exe","browser_download_url":"https://example.com/old-arm","size":4}]}]
+ """)!;
+ Equal("https://example.com/old", UpdateChecker.NewestWindows(legacy, "x64")!.Download, "1.1.0's x64 name");
+ Equal("https://example.com/old-arm", UpdateChecker.NewestWindows(legacy, "ARM64")!.Download, "1.1.0's ARM name");
}
public static void UpdateDueAfterTheAge()