File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed
platform/windows/natives/.cargo Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 1- # Installs mingw64 and mingw32 for the current user, and adds them to the PATH.
1+ # Installs mingw64 and mingw32 and adds them to the PATH.
22# Created with <3 by Wasabi
33
44# Update these links here: https://github.com/niXman/mingw-builds-binaries/releases/latest
@@ -12,8 +12,8 @@ function Add-PathEntry {
1212 $env: Path += " ;$To "
1313 [Environment ]::SetEnvironmentVariable(
1414 " Path" ,
15- [Environment ]::GetEnvironmentVariable(" Path" , [EnvironmentVariableTarget ]::User ) + " ;$To " ,
16- [EnvironmentVariableTarget ]::User )
15+ [Environment ]::GetEnvironmentVariable(" Path" , [EnvironmentVariableTarget ]::Machine ) + " ;$To " ,
16+ [EnvironmentVariableTarget ]::Machine )
1717}
1818
1919function Invoke-Main {
@@ -38,6 +38,8 @@ function Invoke-Main {
3838 md - Force $dest | Out-Null
3939 Move-Item - Path " .\*" - Destination " $dest "
4040
41+ tree " $dest " / F
42+
4143 Write-Output " Adding mingw64 to PATH..."
4244 Add-PathEntry - To " $dest \mingw64\bin"
4345 Write-Output " Adding mingw32 to PATH..."
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments