Browse Source

fixing windows

afeiszli 3 năm trước cách đây
mục cha
commit
ba99943926
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scripts/netclient-install.ps1

+ 1 - 1
scripts/netclient-install.ps1

@@ -52,7 +52,7 @@ new-module -name netclient-install -scriptblock {
     echo "outpath: $outpath"
     $NetArgs = @("join","-t",$token)
     echo "netargs: $NetArgs"
-    Start-Process -Filepath $outpath -ArgumentList $NetArgs -wait -NoNewWindow
+    Start-Process -Filepath $outpath -ArgumentList $NetArgs -Wait
     Add-MpPreference -ExclusionPath "C:\ProgramData\Netclient"
 
     if ((Get-Command "netclient.exe" -ErrorAction SilentlyContinue) -eq $null) {