instalee/i.ps1

6 lines
359 B
PowerShell
Raw Normal View History

2022-09-08 17:25:02 +00:00
# manual execution: Set-ExecutionPolicy Bypass -Scope Process -Force; .\i
(Test-Path "$PWD\instalee") -and (cd instalee)
packages\chocolatey\powershell.ps1
Start-Process -Wait choco -Verb runAs -ArgumentList 'install git'
Start-Process -Wait "C:\Program Files\Git\git-bash.exe" -Verb runAs -ArgumentList "-c './instalee win/office; sleep 10 || bash'"
Sleep 10