mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-05 08:11:20 +00:00
Breaking, change autoupdate definition to use the same logic as the
architecture by the core / update the affected manifests / ability to change extract_dir based on arch / add nssm autoupdate
This commit is contained in:
parent
00fd41f2c4
commit
a5c054ea9e
10
caddy.json
10
caddy.json
@ -29,9 +29,13 @@
|
|||||||
"re": "/releases/tag/v([\\d.]+)"
|
"re": "/releases/tag/v([\\d.]+)"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"url": {
|
"architecture": {
|
||||||
"64bit": "https://github.com/mholt/caddy/releases/download/v$version/caddy_windows_amd64.zip",
|
"64bit": {
|
||||||
"32bit": "https://github.com/mholt/caddy/releases/download/v$version/caddy_windows_386.zip"
|
"url": "https://github.com/mholt/caddy/releases/download/v$version/caddy_windows_amd64.zip"
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"url": "https://github.com/mholt/caddy/releases/download/v$version/caddy_windows_386.zip"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"hash": {
|
"hash": {
|
||||||
"mode": "download"
|
"mode": "download"
|
||||||
|
|||||||
14
curl.json
14
curl.json
@ -14,13 +14,17 @@
|
|||||||
},
|
},
|
||||||
"bin": "curl.exe",
|
"bin": "curl.exe",
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://curl.haxx.se/download.html",
|
"url": "https://curl.haxx.se/download.html",
|
||||||
"re": "curl ([\\d.]+)"
|
"re": "curl ([\\d.]+)"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"url": {
|
"architecture": {
|
||||||
"64bit": "http://winampplugins.co.uk/curl/curl_$underscoreVersion_openssl_nghttp2_x64.7z",
|
"64bit": {
|
||||||
"32bit": "http://winampplugins.co.uk/curl/curl_$underscoreVersion_openssl_nghttp2_x86.7z"
|
"url": "http://winampplugins.co.uk/curl/curl_$underscoreVersion_openssl_nghttp2_x64.7z"
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"url": "http://winampplugins.co.uk/curl/curl_$underscoreVersion_openssl_nghttp2_x86.7z"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"hash": {
|
"hash": {
|
||||||
"mode": "download"
|
"mode": "download"
|
||||||
|
|||||||
10
go.json
10
go.json
@ -19,9 +19,13 @@
|
|||||||
},
|
},
|
||||||
"checkver": "Build version go([\\d\\.]+)\\.",
|
"checkver": "Build version go([\\d\\.]+)\\.",
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"url": {
|
"architecture": {
|
||||||
"64bit": "https://storage.googleapis.com/golang/go$version.windows-amd64.zip",
|
"64bit": {
|
||||||
"32bit": "https://storage.googleapis.com/golang/go$version.windows-386.zip"
|
"url": "https://storage.googleapis.com/golang/go$version.windows-amd64.zip"
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"url": "https://storage.googleapis.com/golang/go$version.windows-386.zip"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"hash": {
|
"hash": {
|
||||||
"mode": "extract",
|
"mode": "extract",
|
||||||
|
|||||||
@ -30,9 +30,13 @@
|
|||||||
],
|
],
|
||||||
"checkver": "The current release is ImageMagick <a.*?>([0-9\\.p-]+)</a>",
|
"checkver": "The current release is ImageMagick <a.*?>([0-9\\.p-]+)</a>",
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"url": {
|
"architecture": {
|
||||||
"64bit": "https://www.imagemagick.org/download/binaries/ImageMagick-$version-portable-Q16-x64.zip",
|
"64bit": {
|
||||||
"32bit": "https://www.imagemagick.org/download/binaries/ImageMagick-$version-portable-Q16-x86.zip"
|
"url": "https://www.imagemagick.org/download/binaries/ImageMagick-$version-portable-Q16-x64.zip"
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"url": "https://www.imagemagick.org/download/binaries/ImageMagick-$version-portable-Q16-x86.zip"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"hash": {
|
"hash": {
|
||||||
"mode": "rdf",
|
"mode": "rdf",
|
||||||
|
|||||||
@ -22,9 +22,13 @@ npm update -g",
|
|||||||
"re": "LTS version: <strong>v([\\d.]+)</strong>"
|
"re": "LTS version: <strong>v([\\d.]+)</strong>"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"url": {
|
"architecture": {
|
||||||
"64bit": "https://nodejs.org/dist/v$version/node-v$version-x64.msi",
|
"64bit": {
|
||||||
"32bit": "https://nodejs.org/dist/v$version/node-v$version-x86.msi"
|
"url": "https://nodejs.org/dist/v$version/node-v$version-x64.msi"
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"url": "https://nodejs.org/dist/v$version/node-v$version-x86.msi"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"hash": {
|
"hash": {
|
||||||
"mode": "extract",
|
"mode": "extract",
|
||||||
|
|||||||
10
nodejs.json
10
nodejs.json
@ -22,9 +22,13 @@ npm update -g",
|
|||||||
"re": "Current version: <strong>v([\\d.]+)</strong>"
|
"re": "Current version: <strong>v([\\d.]+)</strong>"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"url": {
|
"architecture": {
|
||||||
"64bit": "https://nodejs.org/dist/v$version/node-v$version-x64.msi",
|
"64bit": {
|
||||||
"32bit": "https://nodejs.org/dist/v$version/node-v$version-x86.msi"
|
"url": "https://nodejs.org/dist/v$version/node-v$version-x64.msi"
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"url": "https://nodejs.org/dist/v$version/node-v$version-x86.msi"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"hash": {
|
"hash": {
|
||||||
"mode": "extract",
|
"mode": "extract",
|
||||||
|
|||||||
58
nssm.json
58
nssm.json
@ -1,23 +1,41 @@
|
|||||||
{
|
{
|
||||||
"homepage": "https://nssm.cc",
|
"homepage": "https://nssm.cc",
|
||||||
"version": "2.24",
|
"version": "2.24",
|
||||||
"url": "https://nssm.cc/release/nssm-2.24.zip",
|
"url": "https://nssm.cc/release/nssm-2.24.zip",
|
||||||
"hash": "727d1e42275c605e0f04aba98095c38a8e1e46def453cdffce42869428aa6743",
|
"hash": "727d1e42275c605e0f04aba98095c38a8e1e46def453cdffce42869428aa6743",
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"64bit": {
|
"64bit": {
|
||||||
"extract_dir": "nssm-2.24/win64"
|
"extract_dir": "nssm-2.24/win64"
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"extract_dir": "nssm-2.24/win32"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"32bit": {
|
"bin": [
|
||||||
"extract_dir": "nssm-2.24/win32"
|
"nssm.exe",
|
||||||
}
|
[
|
||||||
},
|
"nssm.exe",
|
||||||
"bin": [
|
"service"
|
||||||
"nssm.exe",
|
]
|
||||||
["nssm.exe", "service"]
|
],
|
||||||
],
|
"checkver": {
|
||||||
"checkver": {
|
"re": "<a href=\"/release/nssm-([\\d.]+)\\.zip\"",
|
||||||
"re": "<a href=\"/release/nssm-([\\d.]+)\\.zip\"",
|
"url": "https://nssm.cc/download"
|
||||||
"url": "https://nssm.cc/download"
|
},
|
||||||
},
|
"autoupdate": {
|
||||||
"notes": "Manage Services with NSSM (GUI based) (e.g., 'nssm install nginx' to install nginx as service gui will popup or 'nssm start/status/stop apache').\nVisit https://nssm.cc/commands for more info"
|
"url": "https://nssm.cc/release/nssm-$version.zip",
|
||||||
|
"architecture": {
|
||||||
|
"64bit": {
|
||||||
|
"extract_dir": "nssm-$version/win64"
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"extract_dir": "nssm-$version/win32"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hash": {
|
||||||
|
"mode": "download"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notes": "Manage Services with NSSM (GUI based) (e.g., 'nssm install nginx' to install nginx as service gui will popup or 'nssm start/status/stop apache').
|
||||||
|
Visit https://nssm.cc/commands for more info"
|
||||||
}
|
}
|
||||||
|
|||||||
10
php-nts.json
10
php-nts.json
@ -22,9 +22,13 @@
|
|||||||
"re": "<h3 id=\"php-7.1\".*?>.*?\\(([\\d.]+)\\)</h3>"
|
"re": "<h3 id=\"php-7.1\".*?>.*?\\(([\\d.]+)\\)</h3>"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"url": {
|
"architecture": {
|
||||||
"64bit": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x64.zip",
|
"64bit": {
|
||||||
"32bit": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x86.zip"
|
"url": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x64.zip"
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"url": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x86.zip"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"hash": {
|
"hash": {
|
||||||
"mode": "extract",
|
"mode": "extract",
|
||||||
|
|||||||
10
php.json
10
php.json
@ -43,9 +43,13 @@ cp \"$dir\\php.ini-production\" \"$dir\\php.ini\"
|
|||||||
"re": "<h3 id=\"php-7.1\".*?>.*?\\(([\\d.]+)\\)</h3>"
|
"re": "<h3 id=\"php-7.1\".*?>.*?\\(([\\d.]+)\\)</h3>"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"url": {
|
"architecture": {
|
||||||
"64bit": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x64.zip",
|
"64bit": {
|
||||||
"32bit": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x86.zip"
|
"url": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x64.zip"
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"url": "http://windows.php.net/downloads/releases/php-$version-Win32-VC14-x86.zip"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"hash": {
|
"hash": {
|
||||||
"mode": "extract",
|
"mode": "extract",
|
||||||
|
|||||||
10
pt.json
10
pt.json
@ -18,9 +18,13 @@
|
|||||||
"re": "/releases/tag/v([\\d.]+)"
|
"re": "/releases/tag/v([\\d.]+)"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"url": {
|
"architecture": {
|
||||||
"64bit": "https://github.com/monochromegane/the_platinum_searcher/releases/download/v$version/pt_windows_amd64.zip",
|
"64bit": {
|
||||||
"32bit": "https://github.com/monochromegane/the_platinum_searcher/releases/download/v$version/pt_windows_386.zip"
|
"url": "https://github.com/monochromegane/the_platinum_searcher/releases/download/v$version/pt_windows_amd64.zip"
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"url": "https://github.com/monochromegane/the_platinum_searcher/releases/download/v$version/pt_windows_386.zip"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"hash": {
|
"hash": {
|
||||||
"mode": "download"
|
"mode": "download"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user