generated from Ash258/GenericBucket
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpotplayer-mini.64.json
105 lines (105 loc) · 3.79 KB
/
potplayer-mini.64.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"version": "210127",
"description": "PotPlayer Mini X64. A multimedia software player developed for the Microsoft Windows operating system.",
"homepage": "https://potplayer.daum.net/",
"license": {
"identifier": "Freeware",
"url": "https://potplayer.daum.net/publicRelation"
},
"url": [
"https://t1.daumcdn.net/potplayer/PotPlayer/Version/210127/PotPlayerSetup64.exe#/cosi.7z",
"https://list.nb.gl/OD_scoop/apt-cdn/PotPlayer/20190731_1.7.19955/OpenCodecSetup64.exe#/codec.7z"
],
"hash": [
"68aab0b7c4e30464a6189888e59859b2bf25ed18b805aee902e55968e2d6d4d8",
"8c5d725d87d7a6c8519bce9282b06f52395e4f945be28f1d1981c0dc4c6458a3"
],
"shortcuts": [
[
"PotPlayerMini64.exe",
"PotPlayer Mini"
]
],
"installer": {
"script": [
"Remove-Item \"$dir\\`$*\" -Force -Recurse",
"Get-ChildItem $dir\\History -Exclude \"Chinese(Simplified).txt\" -Recurse | Remove-Item",
"Get-ChildItem $dir\\Language -Exclude \"Chinese(Simplified).ini\",\"Chinese(Traditional).ini\",\"English.ini\" | Remove-Item -Force",
"",
"$delfiles = @(",
" 'UrlList',",
" 'PotPlayerMiniXP64.exe',",
" 'PotPlayerXP64.exe',",
" 'PotPlayer64.exe',",
" 'LogManager.exe',",
" 'MediaInfo.sdb',",
" 'PotNotify64.exe',",
" 'Html',",
" 'License.txt',",
" 'LGPL.TXT',",
" 'FileList.txt'",
" 'uninstall.exe.nsis'",
")",
"foreach ($del in $delfiles) {",
" if (Test-Path \"$dir\\$del\") {",
" Remove-Item \"$dir\\$del\" -Force -Recurse",
" }",
"}",
"",
"# $setFiles = @('PotPlayerMini64.ini')",
"$f = 'PotPlayerMini64.ini'",
"$CONT = @(",
" '[Settings]'",
" 'AutoAddPL=1'",
" 'AutoDetectTimePL=1'",
" 'AutoDownloadFile=0'",
" 'AutoPlayOnStart=0'",
" 'AutoUpdateStart=0'",
" 'AppendFilePL=1'",
" 'CheckAutoUpdate=0'",
" 'DropMousePos=1'",
" 'FastAutoUpdate=0'",
" 'MediaKeyGlobal=1'",
" 'nVideoRen2=15'",
" 'RememberPosition=1'",
" 'RememberPositionAudio=1'",
" 'SavePlayPosPL=1'",
" 'SkinPopupMenuStyle=2'",
" 'ShowRememberList=1'",
" 'SaveConfigPause=1'",
" 'PreviewThumbnail=1'",
" 'OnTopMode=2'",
" ''",
" '[MainShortCutList]'",
" '0=74,4,10069,0'",
" '1=72,6,10863,0'",
" '2='",
")",
"$finalFile = $CONT -join \"`r`n\"",
" # Set Configs for all executables",
"# foreach ($f in $setFiles) {",
" if (-not (Test-Path \"$persist_dir\\$f\")) {",
" Write-Host 'File' $f 'does not exists. Creating' -f Yellow",
" Set-Content \"$dir\\$f\" $finalFile -Encoding Ascii",
" }",
"# }"
]
},
"uninstaller": {
"script": [
"Remove-Item $env:APPDATA\\Daum -Recurse -Force",
"Remove-Item HKCU:\\Software\\DAUM -Recurse -Force"
]
},
"persist": [
"Skins",
"Capture",
"Playlist",
"PotPlayerMini64.ini"
],
"notes": "Potplay Skins: https://list.nb.gl/OD_scoop/apt-cdn/PotPlayer/Skins",
"checkver": {
"url": "https://t1.daumcdn.net/potplayer/PotPlayer/v4/Update2/UpdateEng.html",
"regex": "\\[(\\d+)\\]"
}
}