feat: Added settings to customize the Discord rich presence information

This commit is contained in:
2023-08-21 16:16:47 +02:00
parent 3d0b38361a
commit d8e4a493b9
7 changed files with 107 additions and 21 deletions

View File

@@ -1,8 +1,8 @@
import Store from "electron-store";
import { settings } from "../constants/settings";
import path from "path";
import { BrowserWindow } from "electron";
import path from "path";
import { settings } from "../constants/settings";
let settingsWindow: BrowserWindow;
@@ -18,6 +18,10 @@ export const settingsStore = new Store({
disableHardwareMediaKeys: false,
enableCustomHotkeys: false,
enableDiscord: false,
discord: {
detailsPrefix: "Listening to ",
buttonText: "Play on Tidal",
},
ListenBrainz: {
enabled: false,
api: "https://api.listenbrainz.org",