/
xenia.json
51 lines (51 loc) · 1.79 KB
/
xenia.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
47
48
49
50
51
{
"version": "1.0.2808",
"description": "Microsoft Xbox 360 emulator",
"homepage": "https://xenia.jp",
"license": {
"url": "https://github.com/xenia-project/xenia/blob/master/LICENSE",
"identifier": "BSD-3-Clause"
},
"architecture": {
"64bit": {
"url": "https://github.com/xenia-project/release-builds-windows/releases/download/v1.0.2808-master/xenia_master.zip",
"hash": "120f41efa8bd9e74c06812b243230e56ffd6fa049209e2ff1d092d6738288a9f"
}
},
"pre_install": [
"if (!(Test-Path \"$persist_dir\")) {",
" New-item \"$persist_dir\" -ItemType Directory | Out-Null",
" New-item \"$persist_dir\\portable.txt\" -ItemType File | Out-Null",
" New-item \"$persist_dir\\xenia.config.toml\" -ItemType File | Out-Null",
" if (Test-Path \"$env:USERPROFILE\\Documents\\Xenia\") {",
" Write-host \"Migrating AppData...\" -ForegroundColor yellow",
" Copy-Item -Path \"$env:USERPROFILE\\Documents\\Xenia\\*\" -Destination \"$persist_dir\" -Recurse",
" Remove-Item -Path \"$env:USERPROFILE\\Documents\\Xenia\" -Recurse",
" }",
"}"
],
"bin": "xenia.exe",
"shortcuts": [
[
"xenia.exe",
"Xenia"
]
],
"persist": [
"portable.txt",
"xenia.config.toml",
"content",
"cache"
],
"checkver": {
"github": "https://github.com/xenia-project/release-builds-windows",
"regex": "v([\\d.]+)-master/xenia_master\\.zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/xenia-project/release-builds-windows/releases/download/v$version-master/xenia_master.zip"
}
}
}
}