mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-07 07:51:18 +00:00
* px: fix px.ini creation for persist directive * px: remove unnecessary env_set * px: fix pre_install to stop overwriting --------- Co-authored-by: Loïc PÉRON <loic.peron@inetum.com> Co-authored-by: tech189 <dlloyd189@gmail.com>
27 lines
1.0 KiB
JSON
27 lines
1.0 KiB
JSON
{
|
|
"version": "0.9.2",
|
|
"description": "An HTTP proxy server to automatically authenticate through an NTLM proxy.",
|
|
"homepage": "https://github.com/genotrance/px",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/genotrance/px/releases/download/v0.9.2/px-v0.9.2-windows-amd64.zip",
|
|
"hash": "0e492431ef836091d34f44a6de8caf2a0aaef1737ba7b8202fa54285a5db4101"
|
|
}
|
|
},
|
|
"pre_install": [
|
|
"if (Test-Path -PathType Container \"$persist_dir\\px.ini\") { Remove-Item \"$persist_dir\\px.ini\" } # removes folder px.ini if exists",
|
|
"if (!(Test-Path \"$persist_dir\\px.ini\")) { New-Item \"$dir\\px.ini\" | Out-Null } # creates config file px.ini if doesn't exist"
|
|
],
|
|
"bin": "px.exe",
|
|
"persist": "px.ini",
|
|
"checkver": "github",
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/genotrance/px/releases/download/v$version/px-v$version-windows-amd64.zip"
|
|
}
|
|
}
|
|
}
|
|
}
|