mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
feat(panel): 3-tier update modes, topbar update prompt, and Gemini Hydrogen & Helix support (v1.4.4)
This commit is contained in:
@@ -591,9 +591,13 @@ export async function syncCloudCatalog({ force = false, urls = CLOUD_CATALOG_URL
|
||||
|
||||
const statusAfter = getCloudStatus();
|
||||
const settings = loadSettings();
|
||||
const allowAutoUpdate =
|
||||
settings.pluginUpdateMode !== undefined
|
||||
? settings.pluginUpdateMode === 'auto'
|
||||
: Boolean(settings.autoUpdatePlugin);
|
||||
if (
|
||||
statusAfter.updateAvailable &&
|
||||
settings.autoUpdatePlugin &&
|
||||
allowAutoUpdate &&
|
||||
!pluginUpdateState.isUpdating &&
|
||||
pluginUpdateState.lastAutoAttemptVersion !== statusAfter.latestPluginVersion
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user