ScoopInstaller_Main/python.json
2017-03-27 16:30:23 +08:00

57 lines
1.7 KiB
JSON

{
"homepage": "https://www.python.org/",
"license": "https://docs.python.org/3/license.html",
"version": "3.6.1",
"architecture": {
"64bit": {
"url": "https://www.python.org/ftp/python/3.6.1/python-3.6.1-amd64.exe#/py3.exe",
"hash": "591922fbf5c4234b766dd672e539cba3d9a158e028e3c85c76bfec6ede56ded8"
},
"32bit": {
"url": "https://www.python.org/ftp/python/3.6.1/python-3.6.1.exe#/py3.exe",
"hash": "15dbc083264945ad1dcef8b0b712da41362f816f614acb60989541d8f426d845"
}
},
"pre_install": "copy-item $dir\\py3.exe $dir\\uninstall.exe",
"installer": {
"args": [
"/quiet",
"InstallAllUsers=$(@{$true=1;$false=0}[$global])",
"TargetDir=$dir",
"AssociateFiles=0",
"Shortcuts=0",
"InstallLauncherAllUsers=$(@{$true=1;$false=0}[$global])"
]
},
"uninstaller": {
"file": "uninstall.exe",
"args": [
"/uninstall",
"/quiet",
"InstallAllUsers=0"
]
},
"bin": [
"python.exe",
"pythonw.exe",
[
"python.exe",
"python3"
]
],
"env_add_path": [
"scripts"
],
"checkver": "<p>Latest: <a href=\".*\">Python ([\\d.]+)</a> - <a.*>.*</a></p>",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://www.python.org/ftp/python/$version/python-$version-amd64.exe#/py3.exe"
},
"32bit": {
"url": "https://www.python.org/ftp/python/$version/python-$version.exe#/py3.exe"
}
}
}
}