Browse Source

fixing server path

afeiszli 3 years ago
parent
commit
e60aea21d9
2 changed files with 1 additions and 2 deletions
  1. 0 1
      netclient/ncutils/netclientutils.go
  2. 1 1
      serverctl/serverctl.go

+ 0 - 1
netclient/ncutils/netclientutils.go

@@ -280,7 +280,6 @@ func GetNetclientPath() string {
 	}
 	}
 }
 }
 
 
-
 func GetNetclientPathSpecific() string {
 func GetNetclientPathSpecific() string {
 	if IsWindows() {
 	if IsWindows() {
 		return WINDOWS_APP_DATA_PATH + "\\"
 		return WINDOWS_APP_DATA_PATH + "\\"

+ 1 - 1
serverctl/serverctl.go

@@ -32,7 +32,7 @@ func GetServerWGConf() (models.IntClient, error) {
 
 
 func InstallNetclient() error {
 func InstallNetclient() error {
 
 
-	netclientPath := ncutils.GetNetclientPathSpecific()
+	netclientPath := ncutils.GetNetclientPath()
 	if !FileExists(netclientPath + "netclient") {
 	if !FileExists(netclientPath + "netclient") {
 		var err error
 		var err error
 		if ncutils.IsWindows() {
 		if ncutils.IsWindows() {