-
Notifications
You must be signed in to change notification settings - Fork 3
/
php71-ui.json
33 lines (33 loc) · 1.56 KB
/
php71-ui.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"homepage": "https://pecl.php.net/package/ui",
"version": "2.0.0",
"license": "http://www.php.net/license/3_01.txt",
"architecture": {
"64bit": {
"url": "http://windows.php.net/downloads/pecl/releases/ui/2.0.0/php_ui-2.0.0-7.1-ts-vc14-x64.zip",
"hash": "7d1c51f956f088f4f653116cb28bc1e66fc674c76a0f0765397b4bbb8f18ad92"
},
"32bit": {
"url": "http://windows.php.net/downloads/pecl/releases/ui/2.0.0/php_ui-2.0.0-7.1-ts-vc14-x86.zip",
"hash": "2f8c1b004178d4d3eae084c4d4a7de09fb6ef89f311170c2789241d0959708c1"
}
},
"depends": [
"php"
],
"post_install": "$phpconfd = \"$persist_dir\\..\\php\\cli\\conf.d\"; if((test-path $phpconfd)) { echo \"Enabling extension $(Convert-Path $phpconfd)\\ui.ini\"; echo \"extension=$dir\\php_ui.dll\" | sc \"$phpconfd\\ui.ini\"; echo \"Remove-Item '$(Convert-Path $phpconfd)\\ui.ini'\" | sc \"$dir\\uninstall.ps1\" } else { write-host -f yellow \"PHP was not installed through scoop, you have to activate php_ui.dll manually!\" }",
"checkver": "ui/([\\d.]+)/windows",
"autoupdate": {
"architecture": {
"64bit": {
"url": "http://windows.php.net/downloads/pecl/releases/ui/$version/php_ui-$version-7.1-ts-vc14-x64.zip"
},
"32bit": {
"url": "http://windows.php.net/downloads/pecl/releases/ui/$version/php_ui-$version-7.1-ts-vc14-x86.zip"
}
}
},
"uninstaller": {
"file": "uninstall.ps1"
}
}