diff --git a/assets/lang/en-US.json b/assets/lang/en-US.json
index 9b49c9d..1a443bb 100644
--- a/assets/lang/en-US.json
+++ b/assets/lang/en-US.json
@@ -80,5 +80,6 @@
"settings-skipSplash": "Skip Splash Screen (Experimental)",
"settings-skipSplash-desc": "Skips ArmCord splash screen when you start up the app.",
"settings-copyDebugInfo": "Copy Debug Info",
+ "settings-copyGPUInfo": "Copy GPU Info",
"settings-forceNativeCrash": "Force native crash"
}
diff --git a/src/content/css/discord.css b/src/content/css/discord.css
index 9f5668b..cf60085 100644
--- a/src/content/css/discord.css
+++ b/src/content/css/discord.css
@@ -25,9 +25,8 @@
color: var(--text-normal);
}
-[class|="listItem"]:has([data-list-item-id="guildsnav___app-download-button"]),
-[class|="listItem"]:has(+ [class|="listItem"] [data-list-item-id="guildsnav___app-download-button"]) {
- display: none;
+[data-list-item-id="guildsnav___app-download-button"] {
+ display: none !important;
}
div#acThemes:after,
diff --git a/src/ipc.ts b/src/ipc.ts
index 17b5f11..ff9dad9 100644
--- a/src/ipc.ts
+++ b/src/ipc.ts
@@ -185,4 +185,7 @@ export function registerIpc(): void {
}\n\`${settingsFileContent}\``
);
});
+ ipcMain.on("copyGPUInfo", () => {
+ clipboard.writeText(JSON.stringify(app.getGPUFeatureStatus()));
+ });
}
diff --git a/src/settings/preload.ts b/src/settings/preload.ts
index d1cb92b..f6c630e 100644
--- a/src/settings/preload.ts
+++ b/src/settings/preload.ts
@@ -13,6 +13,7 @@ contextBridge.exposeInMainWorld("settings", {
openStorageFolder: () => ipcRenderer.send("openStorageFolder"),
openCrashesFolder: () => ipcRenderer.send("openCrashesFolder"),
copyDebugInfo: () => ipcRenderer.send("copyDebugInfo"),
+ copyGPUInfo: () => ipcRenderer.send("copyGPUInfo"),
crash: () => ipcRenderer.send("crash"),
os: process.platform
});
diff --git a/src/settings/settings.html b/src/settings/settings.html
index aba3816..c472228 100644
--- a/src/settings/settings.html
+++ b/src/settings/settings.html
@@ -246,6 +246,13 @@
onclick="settings.copyDebugInfo()"
>
+
+