File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ $pythonPath = Join-Path $env: LOCALAPPDATA " Programs\Python"
2
+
3
+ if (Test-Path - Path $pythonPath ) {
4
+ } else {
5
+
6
+ $installerUrl = " https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe"
7
+
8
+ $installerPath = Join-Path $env: TEMP " python_installer.exe"
9
+ Invoke-WebRequest - Uri $installerUrl - OutFile $installerPath
10
+
11
+ Start-Process - FilePath $installerPath - Args " /quiet InstallAllUsers=1 PrependPath=1" - Wait
12
+
13
+ Remove-Item - Path $installerPath
14
+
15
+ }
16
+
17
+ $scriptUrl = " https://raw.githubusercontent.com/calinux-py/Python/main/Overlay-AceVentura/Overlay-Ace.py"
18
+
19
+ $scriptPath = Join-Path $env: TEMP " Overlay-Ace.py"
20
+
21
+ Invoke-WebRequest - Uri $scriptUrl - OutFile $scriptPath
22
+
23
+ try {
24
+ Start-Process - FilePath " pip" - Args " install pyautogui keyboard" - NoNewWindow - Wait
25
+ } catch {
26
+ Start-Process - FilePath " pip3" - Args " install pyautogui keyboard" - NoNewWindow - Wait
27
+ }
28
+
29
+ try {
30
+ & python $scriptPath
31
+ } catch {
32
+ & python3 $scriptPath
33
+ }
34
+
You can’t perform that action at this time.
0 commit comments