add install commands

This commit is contained in:
2026-01-07 07:26:35 +01:00
parent 25cda1026b
commit 5763545f10
11 changed files with 477 additions and 431 deletions

View File

@@ -0,0 +1,25 @@
package installer
import "runtime"
const ServiceName = "luxtools-client"
type InstallOptions struct {
Listen string
Allow []string
DryRun bool
}
type UninstallOptions struct {
KeepConfig bool
DryRun bool
}
func Supported() bool {
switch runtime.GOOS {
case "linux", "windows":
return true
default:
return false
}
}