Electron 15, single-instance-lock and setting to disable hardwareMediaKeyHandling (#134)

* Update to Electron 15 and add Flatpak to README (#131)

* Update functional

* Change to 15

* Replace window.hide, window.restart with counterparts

* Fix openexternal by doing default JS

* Change mouse to pointer for <a> elements

* turn mouse to pointer for exit button

* Fix deprecation of Audio for AudioVideo

* Made a small mistake

* Add Flatpak to readme

* 3.0.0 prep

* Added setting to disable multiple tidal-hifi windows (defaults to true)

fixes #121

* Added setting to disable HardwareMediaKeyHandling (defaults to false)

fixes #133

Co-authored-by: Marie <marie@kaifa.ch>
This commit is contained in:
2022-04-23 22:59:32 +02:00
committed by GitHub
parent 7b2afd2290
commit 79ff02d06c
12 changed files with 1433 additions and 1634 deletions

View File

@@ -16,6 +16,8 @@ const store = new Store({
apiSettings: {
port: 47836,
},
singleInstance: true,
disableHardwareMediaKeys: false,
trayIcon: true,
minimizeOnClose: false,
mpris: false,
@@ -39,7 +41,6 @@ settingsModule.createSettingsWindow = function () {
frame: false,
title: "Tidal-hifi - settings",
webPreferences: {
affinity: "window",
preload: path.join(__dirname, "../pages/settings/preload.js"),
plugins: true,
nodeIntegration: true,