MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / resetToDefaultSource

Function resetToDefaultSource

apps/desktop/main/update.ts:71–74  ·  view source on GitHub ↗

* 重置为默认更新源(R2 优先)

()

Source from the content-addressed store, hash-verified

69 * 重置为默认更新源(R2 优先)
70 */
71function resetToDefaultSource(): void {
72 hasTriedFallback = false
73 switchToR2Mirror()
74}
75
76/**
77 * 判断错误是否为网络相关错误

Callers 2

checkUpdateFunction · 0.85
manualCheckForUpdatesFunction · 0.85

Calls 1

switchToR2MirrorFunction · 0.85

Tested by

no test coverage detected