generated from Ash258/GenericBucket
/
powercord.json
39 lines (39 loc) · 1.37 KB
/
powercord.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
{
"version": "2.0.0",
"description": "A lightweight @discord client mod focused on simplicity and performance.",
"homepage": "https://powercord.dev/",
"license": {
"identifier": "Porkord",
"url": "https://raw.githubusercontent.com/powercord-org/powercord/v2/LICENSE"
},
"depends": [
"nodejs",
"discord-canary"
],
"url": "https://raw.githubusercontent.com/powercord-org/powercord/v2/changelogs.json",
"hash": "5f8f7a0cfecbf2e9c36b76598980eac23f67b56d9e4087c362ad5c339624fc68",
"pre_install": [
"cd $dir",
"rm changelogs.json",
"git clone https://github.com/powercord-org/powercord ."
],
"installer": {
"script": [
"$discord_appdata = Join-Path $env:LocalAppData 'DiscordCanary' 'app-current'",
"$discord_scoop = Join-Path $(appdir discord-canary) 'current'",
"New-Item $discord_appdata -ItemType SymbolicLink -Value $discord_scoop -Force",
"cd $dir",
"npm i",
"npm run plug"
]
},
"uninstaller": {
"script": [
"cd $dir",
"npm run unplug",
"$discord_appdata = Join-Path $env:LocalAppData 'DiscordCanary' 'app-current'",
"if (test-path $discord_appdata) { rm $discord_appdata }"
]
},
"notes": "Be sure to restart the Discord client."
}