-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcotp.json
29 lines (29 loc) · 1.07 KB
/
cotp.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
{
"version": "1.4.5",
"description": "Trustworthy, encrypted, command-line TOTP/HOTP authenticator app with import functionality.",
"homepage": "https://github.com/replydev/cotp",
"license": "GPL-3.0-only",
"architecture": {
"64bit": {
"url": "https://github.com/replydev/cotp/releases/download/v1.4.5/cotp-1.4.5-x86_64-win-msvc.zip",
"hash": "734f8e110fb65696b6d5fa4ebe12cd7849115a6e0fbe0db324379333e29bd918",
"extract_dir": "cotp-1.4.5-x86_64-win-msvc"
}
},
"pre_install": [
"if (Test-Path \"$persist_dir$($db = '\\db.cotp')\") { return }",
"if (Test-Path ($default_path = \"$home\\.cotp$db\")) { return New-Item -ItemType SymbolicLink -Path \"$dir$db\" -Target $default_path | Out-Null }",
"New-Item \"$dir$db\" | Out-Null"
],
"persist": "db.cotp",
"bin": "cotp.exe",
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/replydev/cotp/releases/download/v1.4.5/cotp-1.4.5-x86_64-win-msvc.zip",
"extract_dir": "cotp-$version-x86_64-win-msvc"
}
}
}
}