mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-06 08:41:20 +00:00
This leads to more consistent license properties and allows for easier automated parsing. https://spdx.org/licenses/
46 lines
1.5 KiB
JSON
46 lines
1.5 KiB
JSON
{
|
|
"homepage": "https://www.postgresql.org/",
|
|
"version": "10.3",
|
|
"license": "PostgreSQL",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://get.enterprisedb.com/postgresql/postgresql-10.3-1-windows-x64-binaries.zip",
|
|
"hash": "9e5cc5c4d8d368042f5e3ad3a2e8a530a8d9ae9e61354ff3dece6462eccfac00"
|
|
},
|
|
"32bit": {
|
|
"url": "https://get.enterprisedb.com/postgresql/postgresql-10.3-1-windows-binaries.zip",
|
|
"hash": "7ad56fa515673060fa797208f314431fdcce36db9fdd3bb5b6fbb1d569aa548b"
|
|
}
|
|
},
|
|
"extract_dir": "pgsql",
|
|
"env_add_path": "bin",
|
|
"shortcuts": [
|
|
[
|
|
"pgAdmin 4\\bin\\pgAdmin4.exe",
|
|
"pgAdmin 4"
|
|
]
|
|
],
|
|
"persist": "data",
|
|
"env_set": {
|
|
"PGDATA": "$dir\\data"
|
|
},
|
|
"post_install": "
|
|
if (!(Test-Path \"$dir\\data\\pg_hba.conf\")) { iex \"initdb --username=postgres --encoding=UTF8 --locale=en\" }
|
|
",
|
|
"notes": "To start/stop service, run `pg_ctl start`, `pg_ctl stop`.",
|
|
"checkver": {
|
|
"url": "https://www.enterprisedb.com/products-services-training/pgbindownload",
|
|
"re": "<b>Version ([\\d.]+)"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://get.enterprisedb.com/postgresql/postgresql-$version-1-windows-x64-binaries.zip"
|
|
},
|
|
"32bit": {
|
|
"url": "https://get.enterprisedb.com/postgresql/postgresql-$version-1-windows-binaries.zip"
|
|
}
|
|
}
|
|
}
|
|
}
|