Skip to content

Commit

Permalink
Revert "no registry"
Browse files Browse the repository at this point in the history
This reverts commit b3d155e.
  • Loading branch information
cocreature committed Apr 21, 2020
1 parent 90cdf5d commit e6f803d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions dev-env/windows/manifests/python-3.8.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,19 @@
]
}
},
"pre_install": [
"'install-pep-514.reg', 'uninstall-pep-514.reg' | ForEach-Object {",
" $py_root = \"$dir\".Replace('\\', '\\\\')",
" $py_version = ($version -split '\\.')[0..1] -join '.'",
" $content = Get-Content \"$dir\\$_\"",
" $content = $content.Replace('$py_root', $py_root)",
" $content = $content.Replace('$py_version', $py_version)",
" if ($global) {",
" $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE')",
" }",
" Set-Content \"$dir\\$_\" $content -Encoding Ascii",
"}"
],
"installer": {
"script": [
"Expand-DarkArchive \"$dir\\$fname\" \"$dir\\_tmp\"",
Expand Down

0 comments on commit e6f803d

Please sign in to comment.