autoit: Add bins, shortcuts and suggestion (#135)

This commit is contained in:
Hsiao-nan Cheung 2019-06-26 23:40:48 +08:00 committed by GitHub
parent 6932b2d35b
commit d8d6ed12b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,12 +9,38 @@
"url": "https://www.autoitscript.com/files/autoit3/autoit-v3.zip",
"hash": "df9a20022998c7ac11af23fc69f5d42698ed187b4d03b75fa911570c648d9642",
"extract_dir": "install",
"suggest": {
"AutoIt Script Editor": "extras/autoit-script-editor"
},
"architecture": {
"64bit": {
"bin": [
[
"AutoIt3_x64.exe",
"autoit"
"AutoIt"
],
[
"Aut2Exe\\Aut2exe_x64.exe",
"Aut2exe"
],
"Au3Check.exe"
],
"shortcuts": [
[
"AutoIt3_x64.exe",
"AutoIt"
],
[
"Au3Info_x64.exe",
"AutoIt Window Info Tool"
],
[
"Aut2Exe\\Aut2exe_x64.exe",
"AutoIt Script Compiler"
],
[
"SciTe\\SciTE.exe",
"AutoIt Script Editor"
]
]
},
@ -22,11 +48,38 @@
"bin": [
[
"AutoIt3.exe",
"autoit"
"AutoIt"
],
"Aut2Exe\\Aut2exe.exe",
"Au3Check.exe"
],
"shortcuts": [
[
"AutoIt3.exe",
"AutoIt"
],
[
"Au3Info.exe",
"AutoIt Window Info Tool"
],
[
"Aut2Exe\\Aut2exe.exe",
"AutoIt Script Compiler"
],
[
"SciTe\\SciTE.exe",
"AutoIt Script Editor"
]
]
}
},
"post_install": [
"$editor = versiondir 'autoit-script-editor' 'current'",
"if (Test-Path $editor) {",
" Remove-Item \"$dir\\SciTe\" -Recurse -Force",
" New-Item -Path \"$dir\\SciTE\" -Value \"$editor\" -ItemType Junction | Out-Null",
"}"
],
"checkver": {
"url": "https://www.autoitscript.com/site/autoit/downloads/",
"re": "<td>v([\\d.]+)</td>"