feat(updates): add AtomGit update download source

This commit is contained in:
t8y2 committed 2026-07-03 11:01:27 +08:00
1 parent cb42a4184a
commit 6f2e4774f4
14 files changed
+75 -18

No files matched your search

@@ -996,7 +996,7 @@ function onLocaleChange(v: any) {
}
function onUpdateDownloadSourceChange(v: any) {
if (v === "official" || v === "cnb") editUpdateDownloadSource.value = v;
if (v === "official" || v === "cnb" || v === "atomgit") editUpdateDownloadSource.value = v;
}
function setSidebarObjectDisplay(value: "grouped" | "simple") {
@@ -3659,6 +3659,7 @@ onUnmounted(cleanupPreviewEditor);
<SelectContent>
<SelectItem value="official">{{ t("settings.updateDownloadSourceOfficial") }}</SelectItem>
<SelectItem value="cnb">{{ t("settings.updateDownloadSourceCnb") }}</SelectItem>
<SelectItem value="atomgit">{{ t("settings.updateDownloadSourceAtomgit") }}</SelectItem>
</SelectContent>
</Select>
</div>