|
1 | 1 | { |
2 | | - "version": "8.5.1", |
| 2 | + "version": "8.5.2", |
3 | 3 | "description": "A popular general-purpose scripting language that is especially suited to web development. (non-thread safe)", |
4 | | - "homepage": "https://windows.php.net/", |
| 4 | + "homepage": "https://www.php.net/", |
5 | 5 | "license": "PHP-3.01", |
6 | 6 | "suggest": { |
7 | 7 | "vcredist": "extras/vcredist2022" |
8 | 8 | }, |
9 | 9 | "architecture": { |
10 | 10 | "64bit": { |
11 | | - "url": "https://windows.php.net/downloads/releases/php-8.5.1-nts-Win32-vs17-x64.zip", |
12 | | - "hash": "b80175dc14753e0645b0a2637782c02583aa5d25d487721129501a25796526db" |
| 11 | + "url": "https://downloads.php.net/~windows/releases/archives/php-8.5.2-nts-Win32-vs17-x64.zip", |
| 12 | + "hash": "acb844830aee008a7dde4092f6aab62b09541b3f16260806beff4e4dcc7d9617" |
13 | 13 | }, |
14 | 14 | "32bit": { |
15 | | - "url": "https://windows.php.net/downloads/releases/php-8.5.1-nts-Win32-vs17-x86.zip", |
16 | | - "hash": "de3747b785af34f8978afbadf0dfe81004bfc3c0e4850416dd618c327c5c3a6c" |
| 15 | + "url": "https://downloads.php.net/~windows/releases/archives/php-8.5.2-nts-Win32-vs17-x86.zip", |
| 16 | + "hash": "6d52684520ef79421f678c8d70792bfe746df31e0b76224ac39d3107f5f89daa" |
17 | 17 | } |
18 | 18 | }, |
19 | 19 | "pre_install": [ |
|
42 | 42 | ] |
43 | 43 | ], |
44 | 44 | "checkver": { |
45 | | - "url": "https://windows.php.net/download/", |
46 | | - "regex": "<h3 id=\"php-[\\d.]+\".*?>.*?\\(([\\d.]+)\\)</h3>" |
| 45 | + "url": "https://www.php.net/releases/branches.php", |
| 46 | + "jsonpath": "$..latest" |
47 | 47 | }, |
48 | 48 | "autoupdate": { |
49 | 49 | "architecture": { |
50 | 50 | "64bit": { |
51 | | - "url": "https://windows.php.net/downloads/releases/php-$version-nts-Win32-vs17-x64.zip" |
| 51 | + "url": "https://downloads.php.net/~windows/releases/archives/php-$version-nts-Win32-vs17-x64.zip" |
52 | 52 | }, |
53 | 53 | "32bit": { |
54 | | - "url": "https://windows.php.net/downloads/releases/php-$version-nts-Win32-vs17-x86.zip" |
| 54 | + "url": "https://downloads.php.net/~windows/releases/archives/php-$version-nts-Win32-vs17-x86.zip" |
55 | 55 | } |
56 | 56 | }, |
57 | 57 | "hash": { |
58 | | - "url": "$baseurl/sha256sum.txt" |
| 58 | + "mode": "jsonpath", |
| 59 | + "url": "https://www.php.net/backend/win-releases.json", |
| 60 | + "jsonpath": "$..[?(@.path == '$basename')].sha256" |
59 | 61 | } |
60 | 62 | } |
61 | 63 | } |
0 commit comments