1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-05-29 23:17:32 +02:00

disable updating on windows for now

This commit is contained in:
Jesse Duffield 2018-08-27 19:37:01 +10:00
parent 43f612feb1
commit 2bf536265a

View File

@ -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
}