Skip to content

Commit 8380a3a

Browse files
committed
[+] set min required pwsh version 7.0 and admin privileges for install.ps1, closes #49
1 parent a5bb274 commit 8380a3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/install.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#Requires -Version 7.0
2+
#Requires -RunAsAdministrator
3+
14
Write-Host "--- Installing Python runtime ---" -ForegroundColor blue
25
Start-Process -FilePath .\python-install.exe -ArgumentList "/quiet InstallAllUsers=1 PrependPath=1 Include_test=0 Include_launcher=0" -NoNewWindow -Wait
36
# update pip and pipe output to stdout to avoid parallel execution

0 commit comments

Comments
 (0)