refactor: update init.ps1 to run WSL installation in a background job and reorder software installations for improved clarity
All checks were successful
/ deploy_site (push) Successful in 3s
All checks were successful
/ deploy_site (push) Successful in 3s
This commit is contained in:
21
init.ps1
21
init.ps1
@ -1,17 +1,18 @@
|
||||
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser
|
||||
Start-Process powershell -Verb runAs "Set-ItemProperty -Path REGISTRY::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System -Name ConsentPromptBehaviorAdmin -Value 0"
|
||||
|
||||
wsl --install --no-distribution
|
||||
Start-Job -ScriptBlock {
|
||||
wsl --install --no-distribution
|
||||
}
|
||||
|
||||
winget install `
|
||||
--disable-interactivity `
|
||||
--accept-source-agreements `
|
||||
--force `
|
||||
`
|
||||
Microsoft.WindowsTerminal `
|
||||
Microsoft.VisualStudioCode `
|
||||
Zen-Team.Zen-Browser `
|
||||
DEVCOM.JetBrainsMonoNerdFont
|
||||
winget install `
|
||||
--disable-interactivity `
|
||||
--accept-source-agreements `
|
||||
--force `
|
||||
`
|
||||
DEVCOM.JetBrainsMonoNerdFont `
|
||||
Microsoft.WindowsTerminal `
|
||||
Microsoft.VisualStudioCode `
|
||||
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
Invoke-WebRequest -useb https://github.com/yuk7/ArchWSL/releases/latest/download/Arch.zip -OutFile Arch.zip
|
||||
|
Reference in New Issue
Block a user