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

This commit is contained in:
2025-01-20 20:43:45 +09:00
parent c3243f6040
commit 943f49ea92

View File

@ -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