-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathanki.json
More file actions
51 lines (51 loc) 路 1.6 KB
/
Copy pathanki.json
File metadata and controls
51 lines (51 loc) 路 1.6 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"version": "25.09",
"description": "Powerful and intelligent flash cards",
"homepage": "https://apps.ankiweb.net",
"license": "AGPL-3.0-only",
"architecture": {
"64bit": {
"url": "https://github.com/ankitects/anki/releases/download/25.09/anki-launcher-25.09-windows.exe#/dl.7z",
"hash": "398f690a8208bd381dc2d4220720a82f6d2249c1fd1b38f46a90db356cb7c69e"
}
},
"pre_install": [
"@(",
" '@echo off'",
" 'echo Starting Anki...'",
" 'set \"USB_ROOT=%~dp0\"'",
" 'set \"ANKI_LAUNCHER_VENV_ROOT=%USB_ROOT%\\programfiles\"'",
" 'set \"ANKI_LAUNCHER=%USB_ROOT%\\anki\"'",
" 'set \"ANKI_BASE=%USB_ROOT%\\data\"'",
" 'start /b \"\" \"%ANKI_LAUNCHER%\"'",
") | Set-Content \"$dir\\anki.cmd\" -Encoding ASCII",
"Remove-Item \"$dir\\`$*\" -Recurse"
],
"bin": "anki.cmd",
"shortcuts": [
[
"anki.cmd",
"Anki",
"",
"anki.exe"
]
],
"persist": [
"data",
"programfiles"
],
"checkver": {
"github": "https://api.github.com/repos/ankitects/anki/releases",
"regex": "download/(?<version>[\\d.]+)/anki-launcher-\\k<version>-windows\\.exe"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/ankitects/anki/releases/download/$version/anki-launcher-$version-windows.exe#/dl.7z"
}
},
"hash": {
"url": "$baseurl/anki-launcher-$version-checksums.txt"
}
}
}