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

@@ -28,6 +28,9 @@ const buildMigration = (
export const settingsStore = new Store({
defaults: {
adBlock: false,
advanced: {
tidalUrl: "https://listen.tidal.com",
},
api: true,
apiSettings: {
port: 47836,
@@ -107,6 +110,11 @@ export const settingsStore = new Store({
{ key: settings.apiSettings.hostname, value: "127.0.0.1" },
]);
},
"5.15.0": (migrationStore) => {
buildMigration("5.15.0", migrationStore, [
{ key: settings.advanced.tidalUrl, value: "https://listen.tidal.com" },
]);
},
},
});