diff --git a/CHANGELOG.md b/CHANGELOG.md index 06b16f480..374f16790 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - TIDAL will now close the previous notification if a new one is sent whilst the old is still visible. [#364](https://github.com/Mastermindzh/tidal-hifi/pull/364) - Updated developer documentation to get started in README [#365](https://github.com/Mastermindzh/tidal-hifi/pull/365) -- +- Links in the about window now open in the user's default browser. fixes [#360](https://github.com/Mastermindzh/tidal-hifi/issues/360) ## [5.9.0] diff --git a/src/pages/settings/settings.html b/src/pages/settings/settings.html index a3672f823..8a977880c 100644 --- a/src/pages/settings/settings.html +++ b/src/pages/settings/settings.html @@ -432,14 +432,14 @@

Upload new themes

tidal icon

TIDAL Hi-Fi

- 5.10.0 + 5.10.0
diff --git a/src/pages/settings/settings.scss b/src/pages/settings/settings.scss index aa6722cc7..3be16a61e 100644 --- a/src/pages/settings/settings.scss +++ b/src/pages/settings/settings.scss @@ -415,7 +415,6 @@ html { } // file upload - .file-drop-area { position: relative; display: flex; diff --git a/src/scripts/settings.ts b/src/scripts/settings.ts index 49e199602..7c0536d36 100644 --- a/src/scripts/settings.ts +++ b/src/scripts/settings.ts @@ -1,6 +1,6 @@ import Store from "electron-store"; -import { BrowserWindow } from "electron"; +import { BrowserWindow, shell } from "electron"; import path from "path"; import { settings } from "../constants/settings"; @@ -134,6 +134,10 @@ export const createSettingsWindow = function () { settingsWindow.loadURL(`file://${__dirname}/../pages/settings/settings.html`); + settingsWindow.webContents.setWindowOpenHandler(({ url }) => { + shell.openExternal(url); + return { action: "deny" }; + }); settingsModule.settingsWindow = settingsWindow; };