generated from ScoopInstaller/BucketTemplate
/
UnblockNeteaseMusic.json
50 lines (50 loc) · 1.87 KB
/
UnblockNeteaseMusic.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
{
"version": "0.25.3",
"description": "Revive unavailable songs for Netease Cloud Music",
"license": "MIT",
"homepage": "https://github.com/nondanee/UnblockNeteaseMusic",
"url": [
"https://github.com/nondanee/UnblockNeteaseMusic/archive/v0.25.3.zip",
"https://raw.githubusercontent.com/CALMorACT/hola_bucket/master/scripts/UnblockNeteaseMusic.bat"
],
"hash": [
"2186f5f0daa999d393fd8bf709270c78dd6566b83e275c8d04b85766db06ce40",
"a91bccb40cdf8d6d03aa89fe537aa20e725b9e99f429a29bce1484caa63bb7b1"
],
"pre_install": [
"Move-Item \"$dir/UnblockNeteaseMusic-$version/*\" \"$dir\"",
"Remove-Item \"$dir/UnblockNeteaseMusic-$version\""
],
"post_install": [
"$test_directory = [System.IO.Path]::Combine([Environment]::GetFolderPath('startmenu'), 'Programs', 'Scoop Apps')",
"$music_icon = [System.IO.Path]::Combine($(appdir neteasemusic), 'current', 'resource', 'format.ico')",
"$music_icon = New-Object System.IO.FileInfo($music_icon)",
"$wsShell = New-Object -ComObject WScript.Shell",
"$wsShell = $wsShell.CreateShortcut(\"$test_directory\\UnblockNeteaseMusic.lnk\")",
"$wsShell.IconLocation = $music_icon.FullName",
"$wsShell.Save()"
],
"depends": "neteasemusic",
"bin": [
[
"UnblockNeteaseMusic.bat",
"UnblockNeteaseMusic"
]
],
"shortcuts": [
[
"UnblockNeteaseMusic.bat",
"UnblockNeteaseMusic"
]
],
"checkver": {
"github": "https://github.com/nondanee/UnblockNeteaseMusic"
},
"autoupdate": {
"url": "https://github.com/nondanee/UnblockNeteaseMusic/archive/v$version.zip"
},
"notes": [
"This software should only be used with node.js for create a sever (port: 5200)",
"or you can look more at it 's homepage"
]
}