Skip to content

Commit

Permalink
python: Tweak manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
niheaven committed May 20, 2024
1 parent 7ab1017 commit 7fb796e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bucket/python.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"}"
]
},
Expand All @@ -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",
"}"
]
},
Expand Down

0 comments on commit 7fb796e

Please sign in to comment.