Browse Source

Update Sophia.psm1

pull/103/head
Dmitry Nefedov 4 years ago
committed by GitHub
parent
commit
13c5e058b9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Sophia/Sophia.psm1

2
Sophia/Sophia.psm1

@ -3717,7 +3717,7 @@ function TempFolder
New-Item -Path $env:LOCALAPPDATA\Temp -ItemType SymbolicLink -Value $env:SystemDrive\Temp -Force
}
if (Get-Item -Path "C:\Users\Юлия\AppData\Local\Temp" -ErrorAction Ignore | Where-Object -FilterScript {$_.LinkType -eq "SymbolicLink"})
if (Get-Item -Path $env:LOCALAPPDATA\Temp -ErrorAction Ignore | Where-Object -FilterScript {$_.LinkType -eq "SymbolicLink"})
{
[Environment]::SetEnvironmentVariable("TMP", "$env:SystemDrive\Temp", "User")
[Environment]::SetEnvironmentVariable("TMP", "$env:SystemDrive\Temp", "Machine")

Loading…
Cancel
Save