mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-23 19:44:30 -07:00
fix(update): replace update-notifier with latest-version (#11989)
This commit is contained in:
@@ -23,6 +23,13 @@ export function handleAutoUpdate(
|
||||
return;
|
||||
}
|
||||
|
||||
if (settings.merged.tools?.sandbox || process.env['GEMINI_SANDBOX']) {
|
||||
updateEventEmitter.emit('update-info', {
|
||||
message: `${info.message}\nAutomatic update is not available in sandbox mode.`,
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
if (settings.merged.general?.disableUpdateNag) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user