1145148964
21 天前
写一个 bat
powershell -Command "Set-ExecutionPolicy Unrestricted"
powershell -ExecutionPolicy Bypass -File install.ps1
install.ps1
# Install Google Chrome
winget install Google.Chrome --accept-package-agreements --accept-source-agreements
# Install Visual Studio Code
winget install --id Microsoft.VisualStudioCode -e --accept-package-agreements --accept-source-agreements
# Install PowerToys
winget install Microsoft.PowerToys --source winget --accept-package-agreements --accept-source-agreements
# Install Mozilla Firefox
winget install --id Mozilla.Firefox -e --accept-package-agreements --accept-source-agreements