instalee/i.ps1

7 lines
393 B
PowerShell
Raw Permalink Normal View History

2022-09-08 17:25:02 +00:00
# manual execution: Set-ExecutionPolicy Bypass -Scope Process -Force; .\i
(Test-Path "$PWD\instalee" -PathType Container) -and (cd instalee) | out-null
2022-09-08 17:25:02 +00:00
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'"
2023-02-10 02:31:44 +00:00
# Sleep 10