Keep Windows fixes separate

This commit is contained in:
Manuel Thalmann 2024-08-24 16:56:29 +02:00
parent 7eb0c61cf6
commit 06d9de5b30

View file

@ -39,6 +39,8 @@ $null = New-Module {
$Global:InOperation = $true;
$Global:ErrorActionPreference = $NonInteractive.IsPresent ? 'Continue' : 'Inquire';
if ($IsWindows) {
$env:WSLENV = "CONFIG_MODULE/p";
if ($env:CONFIG_MODULE) {
@ -50,6 +52,7 @@ $null = New-Module {
}
New-Alias -Force "sudo" gsudo;
}
if (-not $NoImplicitCleanup.IsPresent) {
$cleanup = {