diff --git a/netclient/ncutils/netclientutils.go b/netclient/ncutils/netclientutils.go index 7dea5934..e28f58e8 100644 --- a/netclient/ncutils/netclientutils.go +++ b/netclient/ncutils/netclientutils.go @@ -280,7 +280,6 @@ func GetNetclientPath() string { } } - func GetNetclientPathSpecific() string { if IsWindows() { return WINDOWS_APP_DATA_PATH + "\\" diff --git a/serverctl/serverctl.go b/serverctl/serverctl.go index a4a4d4bb..78e9c235 100644 --- a/serverctl/serverctl.go +++ b/serverctl/serverctl.go @@ -32,7 +32,7 @@ func GetServerWGConf() (models.IntClient, error) { func InstallNetclient() error { - netclientPath := ncutils.GetNetclientPathSpecific() + netclientPath := ncutils.GetNetclientPath() if !FileExists(netclientPath + "netclient") { var err error if ncutils.IsWindows() {