ScoopInstaller_Main/inadyn-mt.json
2019-01-29 16:46:54 -05:00

53 lines
2.1 KiB
JSON

{
"description": "Dynamic DNS client",
"homepage": "https://sourceforge.net/projects/inadyn-mt/files/inadyn-mt/",
"license": "GPL-3.0",
"version": "02.28.10",
"autoupdate": {
"extract_dir": "inadyn-mt.v.$version",
"url": "https://downloads.sourceforge.net/project/inadyn-mt/inadyn-mt/inadyn-mt.v.$version/inadyn-mt.v.$version.tar.gz"
},
"bin": "bin/win32/inadyn-mt.exe",
"checkver": "title=\"/inadyn-mt/inadyn-mt\\.v\\.([\\d.]+)",
"depends": "sudo",
"extract_dir": "inadyn-mt.v.02.28.10",
"hash": "f69bea12d96b66f9f662a8df0730c60457b24f5fb5308b109936880ebf7be5ca",
"notes": [
"To install and run as a service:",
"> notepad $dir\\bin\\win32\\inadyn-mt.conf",
"> cd \"$dir\\bin\\win32\"",
"> sudo .\\inadyn-mt -i",
"> sudo .\\inadyn-mt -s",
"",
"For help, see $dir\\readme.html"
],
"persist": [
"bin/win32/inadyn-mt.conf",
"bin/win32/inadyn-mt.log",
"bin/win32/inadyn-mt.pid",
"bin/win32/inadyn_ip.cache",
"bin/win32/inadyn_time.cache"
],
"pre_install": [
"if (!(Test-Path \"$dir/bin/win32/inadyn-mt.conf\")) {",
" set-content \"$dir/bin/win32/inadyn-mt.conf\" -value $null",
"}",
"if (!(Test-Path \"$dir/bin/win32/inadyn-mt.log\")) {",
" set-content \"$dir/bin/win32/inadyn-mt.log\" -value $null",
"}",
"if (!(Test-Path \"$dir/bin/win32/inadyn-mt.pid\")) {",
" set-content \"$dir/bin/win32/inadyn-mt.pid\" -value $null",
"}",
"if (!(Test-Path \"$dir/bin/win32/inadyn_ip.cache\")) {",
" set-content \"$dir/bin/win32/inadyn_ip.cache\" -value $null",
"}",
"if (!(Test-Path \"$dir/bin/win32/inadyn_time.cache\")) {",
" set-content \"$dir/bin/win32/inadyn_time.cache\" -value $null",
"}"
],
"uninstaller": {
"script": "sudo \"$dir/bin/win32/inadyn-mt.exe\" -x"
},
"url": "https://downloads.sourceforge.net/project/inadyn-mt/inadyn-mt/inadyn-mt.v.02.28.10/inadyn-mt.v.02.28.10.tar.gz"
}