diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b475f8..8e59ee1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## 4.3.0 +## 4.3.1 -- Added a setting to disable background throttling ([docs](https://www.electronjs.org/docs/latest/api/browser-window)) +- fix: App always requests a default-url-handler-scheme change on start ## 4.2.0 diff --git a/package-lock.json b/package-lock.json index 639b82b..3b8e885 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tidal-hifi", - "version": "4.3.0", + "version": "4.3.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "tidal-hifi", - "version": "4.3.0", + "version": "4.3.1", "license": "MIT", "dependencies": { "@electron/remote": "^2.0.8", @@ -11386,4 +11386,4 @@ } } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 14ca2a7..eddca5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tidal-hifi", - "version": "4.3.0", + "version": "4.3.1", "description": "Tidal on Electron with widevine(hifi) support", "main": "src/main.js", "scripts": { @@ -50,4 +50,4 @@ "sass-lint-auto-fix": "^0.21.2" }, "prettier": "@mastermindzh/prettier-config" -} +} \ No newline at end of file diff --git a/src/main.js b/src/main.js index abbe7db..234c105 100644 --- a/src/main.js +++ b/src/main.js @@ -123,7 +123,9 @@ function registerHttpProtocols() { protocol.registerHttpProtocol(PROTOCOL_PREFIX, (request, _callback) => { mainWindow.loadURL(`${tidalUrl}/${request.url.substring(PROTOCOL_PREFIX.length + 3)}`); }); - app.setAsDefaultProtocolClient(PROTOCOL_PREFIX); + if (!app.isDefaultProtocolClient(PROTOCOL_PREFIX)) { + app.setAsDefaultProtocolClient(PROTOCOL_PREFIX); + } } function addGlobalShortcuts() { diff --git a/src/pages/settings/settings.html b/src/pages/settings/settings.html index 6f638a2..6ec8991 100644 --- a/src/pages/settings/settings.html +++ b/src/pages/settings/settings.html @@ -255,4 +255,4 @@ - + \ No newline at end of file