Fixed error loops
This commit is contained in:
parent
44d20eb983
commit
f3a78f4bd6
3 changed files with 20 additions and 22 deletions
|
@ -11,13 +11,13 @@ import (
|
|||
)
|
||||
|
||||
// RegisterApp is not supported on non-Windows platforms.
|
||||
func RegisterApp() error {
|
||||
return fmt.Errorf("RegisterApp is only available on Windows")
|
||||
func RegisterApp() {
|
||||
fmt.Println("[WARN] RegisterApp() is only available on Windows")
|
||||
}
|
||||
|
||||
// UnregisterApp is not supported on non-Windows platforms.
|
||||
func UnregisterApp() error {
|
||||
return fmt.Errorf("UnregisterApp is only available on Windows")
|
||||
func UnregisterApp() {
|
||||
fmt.Println("[WARN] UnregisterApp() is only available on Windows")
|
||||
}
|
||||
|
||||
// IsRegistered returns true if the application is detected as installed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue