mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-11-18 03:49:50 -06:00
fixup! Install updates without asking if update.method is "background"
Describe update.method "never" the way it works now: lazygit still checks for updates and shows the note, but doesn't remind the user. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2d58a327ec
commit
0d87650ee4
3 files changed
+4
-4
No files matched your search
@@ -591,8 +591,8 @@ update:
|
||||
# 'prompt': check for updates regularly, and remind you when there is one.
|
||||
# 'background': like 'prompt', but if lazygit was installed from one of our
|
||||
# release archives, install updates without asking.
|
||||
# 'never': don't check for updates. You can still check with `u` in the status
|
||||
# panel.
|
||||
# 'never': check for updates, and show a note in the bottom-right corner when
|
||||
# there is one, but don't remind you of it.
|
||||
method: prompt
|
||||
|
||||
# Period in days between update checks
|
||||
|
||||
@@ -461,7 +461,7 @@ type UpdateConfig struct {
|
||||
// One of: 'prompt' (default) | 'background' | 'never'
|
||||
// 'prompt': check for updates regularly, and remind you when there is one.
|
||||
// 'background': like 'prompt', but if lazygit was installed from one of our release archives, install updates without asking.
|
||||
// 'never': don't check for updates. You can still check with `u` in the status panel.
|
||||
// 'never': check for updates, and show a note in the bottom-right corner when there is one, but don't remind you of it.
|
||||
Method string `yaml:"method" jsonschema:"enum=prompt,enum=background,enum=never"`
|
||||
// Period in days between update checks
|
||||
Days int64 `yaml:"days" jsonschema:"minimum=0"`
|
||||
|
||||
@@ -4138,7 +4138,7 @@
|
||||
"background",
|
||||
"never"
|
||||
],
|
||||
"description": "One of: 'prompt' (default) | 'background' | 'never'\n'prompt': check for updates regularly, and remind you when there is one.\n'background': like 'prompt', but if lazygit was installed from one of our release archives, install updates without asking.\n'never': don't check for updates. You can still check with `u` in the status panel.",
|
||||
"description": "One of: 'prompt' (default) | 'background' | 'never'\n'prompt': check for updates regularly, and remind you when there is one.\n'background': like 'prompt', but if lazygit was installed from one of our release archives, install updates without asking.\n'never': check for updates, and show a note in the bottom-right corner when there is one, but don't remind you of it.",
|
||||
"default": "prompt"
|
||||
},
|
||||
"days": {
|
||||
|
||||
Reference in new issue
Block a user