Debian Codegraph @

cleaners/discord.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 BleachBit
5 Copyright (C) 2008-2025 Andrew Ziem
6 https://www.bleachbit.org
7
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21 -->
22 <cleaner id="discord">
23 <label>Discord</label>
24 <description>Chat client</description>
25 <!-- Discord Stable -->
26 <running type="exe" os="windows">Discord.exe</running>
27 <running type="exe" os="linux">Discord</running>
28 <!-- Discord PTB -->
29 <running type="exe" os="windows">DiscordPTB.exe</running>
30 <running type="exe" os="linux">DiscordPTB</running>
31 <!-- Discord Canary -->
32 <running type="exe" os="windows">DiscordCanary.exe</running>
33 <running type="exe" os="linux">DiscordCanary</running>
34 <!-- Discord Development -->
35 <running type="exe" os="windows">DiscordDevelopment.exe</running>
36 <running type="exe" os="linux">DiscordDevelopment</running>
37 <var name="base">
38 <!-- Discord Stable -->
39 <value os="windows">%UserProfile%\AppData\Roaming\discord</value>
40 <value os="linux">~/.config/discord</value>
41 <value os="linux">~/snap/discord/current/.config/discord</value>
42 <value os="linux">~/.var/app/com.discordapp.Discord/config/discord</value>
43 <!-- Discord PTB -->
44 <value os="windows">%UserProfile%\AppData\Roaming\discordptb</value>
45 <value os="linux">~/.config/discordptb</value>
46 <!-- Discord Canary -->
47 <value os="windows">%UserProfile%\AppData\Roaming\discordcanary</value>
48 <value os="linux">~/.config/discordcanary</value>
49 <value os="linux">~/snap/discord/current/.config/discordcanary</value>
50 <value os="linux">~/.var/app/com.discordapp.DiscordCanary/config/discordcanary</value>
51 <!-- Discord Development -->
52 <value os="windows">%UserProfile%\AppData\Roaming\discorddevelopment</value>
53 <value os="linux">~/.config/discorddevelopment</value>
54 </var>
55 <option id="cache">
56 <label>Cache</label>
57 <description>Delete the web cache, which reduces time to display revisited pages. This also clears favorited GIFs.</description>
58 <action command="delete" search="walk.all" path="$$base$$/Cache"/>
59 <action command="delete" search="walk.all" path="$$base$$/Code Cache"/>
60 <action command="delete" search="walk.all" path="$$base$$/GPUCache"/>
61 <action command="delete" search="file" path="$$base$$/Network Persistent State"/>
62 <action command="delete" search="walk.all" path="~/.var/app/com.discordapp.Discord/cache"/>
63 <action command="delete" search="walk.all" path="~/.var/app/com.discordapp.DiscordCanary/cache"/>
64 </option>
65 <option id="cookies">
66 <label>Cookies</label>
67 <description>Delete cookies, which store login information, website preferences, and tracking identifiers</description>
68 <action command="delete" search="file" path="$$base$$/Cookies"/>
69 <action command="delete" search="file" path="$$base$$/Cookies-journal"/>
70 <action command="delete" search="file" path="$$base$$/Preferences"/>
71 </option>
72 <option id="history">
73 <label>History</label>
74 <description>Delete the history which includes visited sites, downloads, and thumbnails</description>
75 <action command="delete" search="file" path="$$base$$/TransportSecurity"/>
76 <action command="delete" search="walk.all" path="$$base$$/Session Storage"/>
77 <action command="delete" search="walk.all" path="$$base$$/VideoDecodeStats"/>
78 </option>
79 <option id="vacuum">
80 <label>Vacuum</label>
81 <description>Clean database fragmentation to reduce space and improve speed without removing any data</description>
82 <action command="sqlite.vacuum" search="file" path="$$base$$/Cookies"/>
83 <action command="sqlite.vacuum" search="file" path="$$base$$/Origin Bound Certs"/>
84 <action command="sqlite.vacuum" search="file" path="$$base$$/QuotaManager"/>
85 <action command="sqlite.vacuum" search="file" path="$$base$$/databases/Databases.db"/>
86 </option>
87 </cleaner>