mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
disable updating on windows for now
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user