管理端全部功能跑通
This commit is contained in:
14
EdgeHttpDNS/internal/utils/service_others.go
Normal file
14
EdgeHttpDNS/internal/utils/service_others.go
Normal file
@@ -0,0 +1,14 @@
|
||||
//go:build !linux
|
||||
// +build !linux
|
||||
|
||||
package utils
|
||||
|
||||
import "errors"
|
||||
|
||||
func (m *ServiceManager) Install(exePath string, args []string) error {
|
||||
return errors.New("service install is only supported on linux in this version")
|
||||
}
|
||||
|
||||
func (m *ServiceManager) Uninstall() error {
|
||||
return errors.New("service uninstall is only supported on linux in this version")
|
||||
}
|
||||
Reference in New Issue
Block a user