ScoopInstaller_Main/bucket/mls-software-openssh.json
h404bi ccc24e57b6 Init scoop-main bucket
Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com>
Co-authored-by: Richard Kuhnt <r15ch13+git@gmail.com>
2019-04-22 20:56:04 +08:00

35 lines
1.3 KiB
JSON

{
"homepage": "https://www.mls-software.com/opensshd.html",
"description": "A Windows installer package of Openssh for Windows that is actively maintained and current.",
"license": "ISC",
"version": "8.0p1-2",
"url": "https://www.mls-software.com/files/setupssh-8.0p1-2.exe#/dl.7z",
"hash": "sha1:4cdf9628aab704f2b086008857430456b2333a35",
"post_install": [
"Remove-Item \"$dir\\`$PLUGINSDIR\" -Recurse",
"Remove-Item \"$dir\\`$TEMP\" -Recurse",
"Remove-Item \"$dir\\uninstall.exe\"",
"if (!(test-path \"$dir\\tmp\")) { new-item \"$dir\\tmp\" -itemtype directory | out-null }"
],
"bin": [
"bin\\scp.exe",
"bin\\sftp.exe",
"bin\\ssh-add.exe",
"bin\\ssh-agent.exe",
"bin\\ssh-keygen.exe",
"bin\\ssh-keyscan.exe",
"bin\\ssh.exe"
],
"checkver": {
"url": "https://www.mls-software.com/opensshd.html",
"re": "New Version<.*\\n<b>OpenSSH (?<version>[\\d.\\-p]+)<br />"
},
"autoupdate": {
"url": "https://www.mls-software.com/files/setupssh-$version.exe#/dl.7z",
"hash": {
"url": "https://www.mls-software.com/opensshd.html",
"find": "$basename</a.*\\n<.*<small>SHA1=([a-fA-F0-9]+)</small>"
}
}
}