forked from hermanjustnu/scoop-emulators
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdesmume-nightly.json
46 lines (46 loc) · 1.63 KB
/
desmume-nightly.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"homepage": "https://desmume.org",
"version": "20181218-5895248",
"license": "GPL-2.0",
"architecture": {
"64bit": {
"url": "https://drive.google.com/uc?export=download&id=1RmV-3UEVukA30CFgSPO3avUJvQtK9llB#/dl.zip",
"hash": "868ca49ebe86bc27954ca49476cba55913d14b25e0bf1849cd92bdd966e6b78f"
},
"32bit": {
"url": "https://drive.google.com/uc?export=download&id=1WyjXjlcQhIAfiISY95AqxKgwZyveh7l0#/dl.zip",
"hash": "89e37d4066eb3f949c1b53756040bc2de7165e32834f5f81df5f5d669e39a047"
}
},
"shortcuts": [
[
"DeSmuME.exe",
"DeSmuME (Nightly)"
]
],
"pre_install": [
"if (!(test-path \"$dir\\DeSmuME.exe\")) {",
"gci \"$dir\" \"DeSmuME*.exe\" |",
"? { $_.Name -match '(?i)DeSmuME_git#[a-z\\d]{8}_x[\\d]{2}.exe' } |",
"% {",
"warn \"Moving $($_.Name) to DeSmuMe.exe\"",
"mv \"$dir\\$($_.Name)\" \"$dir\\DeSmuMe.exe\"",
"}",
"}"
],
"checkver": {
"url": "https://desmume.org/download/",
"re": "(?sm)<strong>(?<year>[\\d]{4})/(?<month>[\\d]{2})/(?<day>[\\d]{2}).*?git\\#(?<git>[a-z\\d]{7}).*?id=(?<one>.*?)\">Windows 32-bit.*?id=(?<two>.*?)\">Windows 64-bit",
"replace": "${year}${month}${day}-${git}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://drive.google.com/uc?export=download&id=$matchTwo#/dl.zip"
},
"32bit": {
"url": "https://drive.google.com/uc?export=download&id=$matchOne#/dl.zip"
}
}
}
}