github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/install/install_default.go (about) 1 // Copyright 2015 Keybase, Inc. All rights reserved. Use of 2 // this source code is governed by the included BSD license. 3 4 //go:build !darwin && !windows 5 // +build !darwin,!windows 6 7 package install 8 9 import ( 10 "context" 11 "time" 12 13 "github.com/keybase/client/go/logger" 14 "github.com/keybase/client/go/protocol/keybase1" 15 ) 16 17 // Install empty implementation for unsupported platforms 18 func Install(context Context, binPath string, sourcePath string, components []string, force bool, timeout time.Duration, log Log) keybase1.InstallResult { 19 return keybase1.InstallResult{} 20 } 21 22 // Uninstall empty implementation for unsupported platforms 23 func Uninstall(context Context, components []string, log Log) keybase1.UninstallResult { 24 return keybase1.UninstallResult{} 25 } 26 27 // StartUpdateIfNeeded is a no-op on this platform. 28 func StartUpdateIfNeeded(context.Context, logger.Logger) error { 29 return nil 30 } 31 32 // GetNeedUpdate always returns false, nil on this platform. 33 func GetNeedUpdate() (bool, error) { 34 return false, nil 35 }