instalee/i.ps1
2022-09-08 19:25:02 +02:00

6 lines
No EOL
359 B
PowerShell

# 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