mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-08-03 11:31:20 +02:00
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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user