fixing server path

This commit is contained in:
afeiszli 2021-10-02 12:44:37 -04:00
parent 21ba362eca
commit e60aea21d9
2 changed files with 1 additions and 2 deletions

View file

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

View file

@ -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() {