diff --git a/assets/lang/en-US.json b/assets/lang/en-US.json index 371e7c1..fcfc7d1 100644 --- a/assets/lang/en-US.json +++ b/assets/lang/en-US.json @@ -27,6 +27,7 @@ "settings-mobileMode": "Mobile mode", "settings-mobileMode-desc": "If you're on a device with touch-screen this feature is for you! It activates Discord's hidden mobile\n mode meant for phones and tablets. Only major feature missing is voice chat support. This is ideal for\n users on PinePhone and similar.", "settings-channel": "Discord channel", + "settings-channel-hummus": "Hummus (Experimental)", "settings-channel-desc1": "You can use this setting to change current instance of Discord:", "settings-channel-desc2": "you're probably most familiar with this one. It's the one you see in default Discord\n client!", "settings-channel-desc3": "this is alpha test release of Discord. By using it you gain access to the newest\n features and fixes.", @@ -38,21 +39,32 @@ "settings-altPaste-desc": "If you're on Gnome on Linux or just simply can't paste images copied from other messages, then this is\n for you. This enables alternative module for pasting images. Only enable this when you're experiencing\n issues.", "settings-mod": "Client mod", "settings-mod-desc1": "Client mods are programs that allow you customize your Discord experience. They can change appearance of\n the client, modify behaviours or add new features!", - "settings-mod-desc2": "focuses on making the Discord plugin development experience easier. Minimal and\n lightweight.", - "settings-mod-desc3": "light, secure, and easy to use, with out of the box experience. Features a built-in\n store for plugins.", - "settings-mod-desc4": "heavily work in progress, doesn't have a working UI.", + "settings-mod-vencord": "lightweight, and easy to use client mod. Features a built-in store for plugins.", + "settings-mod-shelter": "is a new generation client mod built to be essentially bulletproof.", "settings-prfmMode": "Performance mode", - "settings-prfmMode": "Performance mode is an experimental function that may either increase responsiveness and performance of\n ArmCord or... decrease it. Please try every option and see which fits you the best.", + "settings-prfmMode-desc": "Performance mode is an experimental function that may either increase responsiveness and performance of\n ArmCord or... decrease it. Please try every option and see which fits you the best.", "settings-prfmMode-performance": "Performance", "settings-prfmMode-battery": "Battery", "settings-trayIcon": "Tray icon", "settings-trayIcon-desc": "Set the icon which will appear in tray menu.", - "settings-advanced": "️Advanced user zone", + "settings-trayIcon-dynamic": "Dynamic", + "settings-trayIcon-normal": "Discord Icon", + "settings-trayIcon-classic": "Classic Discord Icon", + "settings-trayIcon-colored-plug": "Colored Plug", + "settings-trayIcon-white-plug": "White Plug", + "settings-trayIcon-white-plug-alt": "White Plug Alt", + "settings-trayIcon-black-plug": "Black Plug", + "settings-trayIcon-black-plug-alt": "Black Plug Alt", + "settings-advanced": "Advanced user zone", "settings-pluginsFolder": "Open plugins folder", "settings-themesFolder": "Open themes folder", "settings-storageFolder": "Open storage folder", "settings-none": "None", "settings-save": "Save Settings", + "settings-experimental": "Experimental", "settings-restart": "Restart App", - "settings-updater": "Check for updates" + "settings-updater": "Check for updates", + "settings-skipSplash": "Skip Splash Screen (Experimental)", + "settings-skipSplash-desc": "Skips ArmCord splash screen when you start up the app.", + "settings-copyDebugInfo": "Copy Debug Info" } diff --git a/src/settings/preload.ts b/src/settings/preload.ts index 89b5117..e3260c6 100644 --- a/src/settings/preload.ts +++ b/src/settings/preload.ts @@ -1,26 +1,19 @@ import {contextBridge, ipcRenderer} from "electron"; -import * as path from "path"; import {addStyle} from "../utils"; -import fs from "fs"; console.log("ArmCord Settings"); contextBridge.exposeInMainWorld("settings", { save: (...args: any) => ipcRenderer.send("saveSettings", ...args), restart: () => ipcRenderer.send("restart"), saveAlert: (restartFunc: any) => ipcRenderer.send("saveAlert", restartFunc), - getLang: (toGet: string) => - ipcRenderer.invoke("getLang", toGet).then((result) => { - return result; - }), - get: (toGet: string) => - ipcRenderer.invoke("getSetting", toGet).then((result) => { - return result; - }), //jank but works + getLang: (toGet: string) => ipcRenderer.invoke("getLang", toGet), + get: (toGet: string) => ipcRenderer.invoke("getSetting", toGet), openThemesFolder: () => ipcRenderer.send("openThemesFolder"), openPluginsFolder: () => ipcRenderer.send("openPluginsFolder"), openStorageFolder: () => ipcRenderer.send("openStorageFolder"), copyDebugInfo: () => ipcRenderer.send("copyDebugInfo") }); + ipcRenderer.on("themeLoader", (event, message) => { addStyle(message); }); diff --git a/src/settings/settings.html b/src/settings/settings.html index 6f117a1..b2c11b2 100644 --- a/src/settings/settings.html +++ b/src/settings/settings.html @@ -9,264 +9,218 @@
- +
+
- +
+
- + + + -

ArmCord theme

-

- ArmCord "themes" manage apps behaviour and looks. + +

+ +
+

+ - +
- Default - this is how ArmCord looks when you first launch it. It includes recreation of Discord's - custom titlebar and ArmCord specific styles injected into Discord. -
- Native - uses native titlebar of OS you're currently running (e.g Windows 7/10). Functions more - similar to actual Discord app on Linux. -

+ - + +

+
- + -

- ArmCord CSP is our system that manages loading custom content loading into the Discord app. Stuff like - client mods and themes depend on it. Disable if you want to get rid of mods and custom styles. -

+


+
- - + + -

- When disabled, ArmCord will close like any other window when closed, otherwise it'll sit back and relax - in your system tray for later. -

+


+
- - + + -

- Fetches automatic patches that are distributed if release turns out to have bugs after release. Usually - you don't have to keep this enabled, unless notified in support Discord. -

+


+
- - + +

+ Uses arRPC to support Discord RPC (Rich Presence) with local programs on your machine. Work in progress.


+
- - + + -

- If you're on a device with touch-screen this feature is for you! It activates Discord's hidden mobile - mode meant for phones and tablets. Only major feature missing is voice chat support. This is ideal for - users on PinePhone and similar. -

+


+
- - + + -

- If you're on Gnome on Linux or just simply can't paste images copied from other messages, then this is - for you. This enables alternative module for pasting images. Only enable this when you're experiencing - issues. -

+


+
- + - + +
-

Discord channel

-

- You can use this setting to change current instance of Discord: +

+
+

+ Stable -
- Stable - you're probably most familiar with this one. It's the one you see in default Discord - client! + Canary -
- Canary - this is alpha test release of Discord. By using it you gain access to the newest - features and fixes. + PTB - +
- PTB - public test build. Receives features earlier than stable but is a bit older than - Canary. -
- Hummus - unofficial instance of Discord that takes you back to 2016! Only client mod - available to run alongside with it is Cordwood. It's run by community, so you take all the risk by - using it. -

+ Hummus - +

+
- + - -

Client mod

-

- Client mods are programs that allow you customize your Discord experience. They can change appearance of - the client, modify behaviours or add new features! + +

+
+

+ Vencord -
- Vencord - lightweight, and easy to use client mod. Features a built-in store for plugins. -
- Shelter - is a new generation client mod built to be essentially bulletproof. -

+ Shelter - +

+
- + + + -

Performance mode

-

- Performance mode is an experimental function that may either increase responsiveness and performance of - ArmCord or... decrease it. Please try every option and see which fits you the best. -

+ +

+


+
- - - - + + + + - - - - - + + + + + -

Tray icon

-

Set the icon which will appear in tray menu.

+ +

+



+
-

⚠️ Advanced User Zone ⚠️

+



- - - -

Skips ArmCord splash screen when you start up the app.

+ +
+ + + +

+

- + +
- +
- +
- +
+ -