/
potplayer-skin-modernwin10_chs.json
42 lines (42 loc) · 2.04 KB
/
potplayer-skin-modernwin10_chs.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
{
"version": "211101",
"description": "PotPlayer 皮肤 Modern W10 原版汉化(by 断剑留痕)",
"homepage": "https://pan.lanzoui.com/b0i38vsd",
"license": "Unknown",
"notes": [
"原版汉化地址: <https://pan.lanzoui.com/b0i38vsd>",
"原版地址: <https://www.deviantart.com/art/Modern-W10-Skin-for-PotPlayer-678381013>"
],
"depends": "sapps/potplayer-noad-portable",
"url": "https://pan.jiemi.workers.dev/?file=/scoop/PotPlayer/PotPlayer_skin_ModernW10_v3.6_chs_211101.zip",
"hash": "b81c0b89f9b447e429d6c7bd851dcc07ba570c1d3d82fc6b951836d3c94b2eec",
"installer": {
"script": [
"Get-ChildItem $dir -Exclude install.json,manifest.json | ForEach-Object {",
" Get-ChildItem \"$(scoop prefix potplayer-noad-portable)\\Skins\\$($_.Name)\" | Rename-Item -NewName { $_.Name + \".sappsbak\" }",
" Copy-Item $_.FullName -destination \"$(scoop prefix potplayer-noad-portable)\\Skins\" -Force",
"}"
]
},
"uninstaller": {
"script": [
"Get-ChildItem \"$dir\" -Exclude install.json,manifest.json | ForEach-Object {",
" Remove-Item \"$(scoop prefix potplayer-noad-portable)\\Skins\\$($_.Name)\" -Force -ErrorAction SilentlyContinue",
" Get-ChildItem \"$(scoop prefix potplayer-noad-portable)\\Skins\\$($_.Name).sappsbak\" | Rename-Item -NewName { $_.Name -replace '.sappsbak','' }",
"}",
"Write-Host \"The '$app' has been uninstalled.\" -Foreground Magenta"
]
},
"checkver": {
"url": "https://github.com/Ryanjiena/scoop-apps/raw/version/potplayer",
"regex": "(?s)(?<filename>PotPlayer_skin_ModernW10_v(?<build>[\\d.]+)_chs_(?<version>[\\d]+)\\.(?:zip|7z))"
},
"autoupdate": {
"url": "https://pan.jiemi.workers.dev/?file=/scoop/PotPlayer/$matchFilename",
"hash": {
"url": "https://github.com/Ryanjiena/scoop-apps/raw/version/potplayer",
"mode": "extract",
"regex": "^$sha256([\\s]+)$basename"
}
}
}