mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 15:21:18 +00:00
python: Tweak manifest (#5850)
This commit is contained in:
parent
d0add1e4d8
commit
278e9343d9
@ -55,8 +55,8 @@
|
||||
"}",
|
||||
"Remove-Item \"$dir\\_tmp\", \"$dir\\setup.exe\" -Force -Recurse",
|
||||
"if ($global) {",
|
||||
" $pathext = (Get-EnvVar -Name PATHEXT -Global:$true) -replace ';.PYW?', ''",
|
||||
" Set-EnvVar -Name PATHEXT -Value \"$pathext;.PY;.PYW\" -Global:$true",
|
||||
" $pathext = (Get-EnvVar -Name PATHEXT -Global) -replace ';.PYW?', ''",
|
||||
" Set-EnvVar -Name PATHEXT -Value \"$pathext;.PY;.PYW\" -Global",
|
||||
"}"
|
||||
]
|
||||
},
|
||||
@ -67,8 +67,8 @@
|
||||
"uninstaller": {
|
||||
"script": [
|
||||
"if ($global) {",
|
||||
" $pathext = (Get-EnvVar -Name PATHEXT -Global:$true) -replace ';.PYW?', ''",
|
||||
" Set-EnvVar -Name PATHEXT -Value \"$pathext\" -Global:$true",
|
||||
" $pathext = (Get-EnvVar -Name PATHEXT -Global) -replace ';.PYW?', ''",
|
||||
" Set-EnvVar -Name PATHEXT -Value \"$pathext\" -Global",
|
||||
"}"
|
||||
]
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user