This commit is contained in:
partisan 2025-02-25 20:15:39 +01:00
commit 6d50c30e1d
15 changed files with 1671 additions and 0 deletions

17
register_unix.go Normal file
View 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")
}