mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-08 06:04:20 +08:00
fixing server path
This commit is contained in:
parent
21ba362eca
commit
e60aea21d9
2 changed files with 1 additions and 2 deletions
|
@ -280,7 +280,6 @@ func GetNetclientPath() string {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
func GetNetclientPathSpecific() string {
|
||||
if IsWindows() {
|
||||
return WINDOWS_APP_DATA_PATH + "\\"
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue