mirror of
https://github.com/koho/frpmgr.git
synced 2025-10-20 16:03:47 +08:00
update service name
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
@echo off
|
||||
set FRPMGR_VERSION=1.2.2
|
||||
set FRPMGR_VERSION=1.2.3
|
||||
set BUILDDIR=%~dp0
|
||||
cd /d %BUILDDIR% || exit /b 1
|
||||
call VsDevCmd.bat
|
||||
|
@ -66,7 +66,8 @@ func InstallService(configPath string) error {
|
||||
ServiceType: windows.SERVICE_WIN32_OWN_PROCESS,
|
||||
StartType: mgr.StartAutomatic,
|
||||
ErrorControl: mgr.ErrorNormal,
|
||||
DisplayName: "Frpc: " + name,
|
||||
DisplayName: "FRP Client: " + name,
|
||||
Description: "FRP Client Daemon Service",
|
||||
SidType: windows.SERVICE_SID_TYPE_UNRESTRICTED,
|
||||
}
|
||||
service, err = m.CreateService(serviceName, path, conf, "/service", configPath)
|
||||
|
@ -15,7 +15,7 @@ import (
|
||||
)
|
||||
|
||||
func ServiceNameOfConf(name string) string {
|
||||
return fmt.Sprintf("Frpc$%s", name)
|
||||
return fmt.Sprintf("FRPC$%s", name)
|
||||
}
|
||||
|
||||
type frpService struct {
|
||||
|
Reference in New Issue
Block a user