feat(updater): remove AtomGit download source
This commit is contained in:
1 parent
72d05ac3ec
commit
4cc14f5f72
26 files changed
+44
-755
No files matched your search
@@ -332,7 +332,7 @@ async function forceRefresh() {
|
||||
}
|
||||
|
||||
function setUpdateDownloadSource(value: unknown) {
|
||||
if (value !== "official" && value !== "cnb" && value !== "atomgit") return;
|
||||
if (value !== "official" && value !== "cnb") return;
|
||||
if (value === settingsStore.editorSettings.updateDownloadSource) return;
|
||||
settingsStore.updateEditorSettings({ updateDownloadSource: value });
|
||||
void forceRefresh().catch(() => undefined);
|
||||
@@ -1161,7 +1161,6 @@ watch(driverStoreTab, (tab) => {
|
||||
<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>
|
||||
|
||||
@@ -1210,7 +1210,7 @@ function onLocaleChange(v: any) {
|
||||
}
|
||||
|
||||
function onUpdateDownloadSourceChange(v: any) {
|
||||
if (v === "official" || v === "cnb" || v === "atomgit") editUpdateDownloadSource.value = v;
|
||||
if (v === "official" || v === "cnb") editUpdateDownloadSource.value = v;
|
||||
}
|
||||
|
||||
function setSidebarObjectDisplay(value: "grouped" | "simple") {
|
||||
@@ -5007,7 +5007,6 @@ 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>
|
||||
|
||||
Reference in new issue
Block a user