-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgpmm.json
42 lines (42 loc) · 1.61 KB
/
gpmm.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
{
"homepage": "https://play.google.com/music/listen#/manager",
"description": "Use Google Play Music Manager to upload your favorite songs from your computer to your Google Play library",
"version": "nightly",
"license": {
"identifier": "Freeware",
"url": "https://play.google.com/about/play-terms/index.html"
},
"##": "Have to use URL shortener since actual URL exceeds filename character limit?",
"url": "https://shorturl.at/alE27#/dl.exe",
"pre_install": [
"# Unable to find directory switch for installer, symlink to the scoop app directory before running installer",
"$fold = \"$env:LOCALAPPDATA\\Programs\\Google\\MusicManager\"",
"if (Test-Path $fold) {",
" cmd /C rmdir /Q /S $fold",
"}",
"New-Item -Path $fold -ItemType SymbolicLink -Value $dir"
],
"post_install": [
"# Kill MusicManager.exe since it automatically runs after installation and remove pre_install symlink",
"Stop-Process -Name MusicManager -Force",
"cmd /C rmdir /Q $env:LOCALAPPDATA\\Programs\\Google\\MusicManager",
"Remove-Item -LiteralPath \"$env:APPDATA\\Microsoft\\Windows\\Start Menu\\Programs\\Music Manager\" -Force -Recurse"
],
"installer": {
"args": [
"/silent",
"/install"
]
},
"uninstaller": {
"script": "Remove-Item -LiteralPath $env:LOCALAPPDATA\\Google\\MusicManager -Force -Recurse"
},
"shortcuts": [
[
"MusicManager.exe",
"Google Play Music Manager",
"",
"WindowsIcon.ico"
]
]
}