added --silent and register values in windows registry keys
This commit is contained in:
parent
48473f98c5
commit
ca57775f8f
7 changed files with 402 additions and 165 deletions
17
spm/register_unix.go
Normal file
17
spm/register_unix.go
Normal file
|
@ -0,0 +1,17 @@
|
|||
// run_default.go
|
||||
//go:build !windows
|
||||
// +build !windows
|
||||
|
||||
package spm
|
||||
|
||||
import "fmt"
|
||||
|
||||
// RegisterApp is not supported on non-Windows platforms.
|
||||
func RegisterApp() error {
|
||||
return fmt.Errorf("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")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue