feat: Added a channel selector so we can now use Tidal's staging environment directly from the app

This commit is contained in:
2024-07-15 12:36:55 +02:00
parent 9dc7267a4d
commit 45f8c13c5b
7 changed files with 40 additions and 2 deletions

View File

@@ -24,7 +24,6 @@ import {
showSettingsWindow,
} from "./scripts/settings";
import { addTray, refreshTray } from "./scripts/tray";
const tidalUrl = "https://listen.tidal.com";
let mainInhibitorId = -1;
initialize();
@@ -40,6 +39,9 @@ const windowPreferences = {
setDefaultFlags(app);
setManagedFlagsFromSettings(app);
const tidalUrl =
settingsStore.get<string, string>(settings.advanced.tidalUrl) || "https://listen.tidal.com";
/**
* Update the menuBarVisibility according to the store value
*