mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
disable updating on windows for now
This commit is contained in:
parent
43f612feb1
commit
2bf536265a
|
|
@ -139,6 +139,12 @@ func (u *Updater) CheckForNewUpdate(onFinish func(string, error) error, userRequ
|
|||
}
|
||||
|
||||
func (u *Updater) skipUpdateCheck() bool {
|
||||
// will remove the check for windows after adding a manifest file asking for
|
||||
// the required permissions
|
||||
if runtime.GOOS == "windows" {
|
||||
return true
|
||||
}
|
||||
|
||||
if u.Config.GetBuildSource() != "buildBinary" {
|
||||
return true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue