Skip to content

Commit 5374f90

Browse files
committed
Fix WSL
1 parent f87ec9c commit 5374f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WinCustomizer/WinCustomizer.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2291,7 +2291,7 @@ $WPFcop.Add_Click({
22912291

22922292
$WPFwsl.Add_Click({
22932293
Log('Avvio WSL')
2294-
powerShell -ExecutionPolicy Bypass -File "Risorse\WinCustomizerWSL.ps1"
2294+
Start-Process powershell.exe -ArgumentList "-NoExit", "-File", "Risorse\WinCustomizerWSL.ps1"
22952295
if (-not (Test-Path -Path "$currentPath\Risorse\WinCustomizerWSL.ps1" -PathType Leaf)) {
22962296
Error('Programma non presente')} else {True('FATTO')}
22972297
})

0 commit comments

Comments
 (0)