Skip to content

Commit bd0fedc

Browse files
committed
ci: natives (windows) (13)
1 parent 2470193 commit bd0fedc

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

install-mingw-dual.ps1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

1919
function 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..."

platform/windows/natives/.cargo/config.toml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)