Merge branch 'master' of github.com:Mastermindzh/tidal-hifi

This commit is contained in:
Rick van Lieshout 2021-06-17 20:44:30 +02:00
commit 8d2e03ca6b
3 changed files with 8 additions and 3 deletions

View File

@ -4,6 +4,11 @@ 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).
## 2.3.0
- Added a setting to minimize to tray on app close (off by default)
- Added the main menu to the trayicon
## 2.2.1
- artists is now gotten specifically from the footer. This fixes the [unknown artists bug](https://github.com/Mastermindzh/tidal-hifi/issues/45).

View File

@ -1,6 +1,6 @@
{
"name": "tidal-hifi",
"version": "2.2.1",
"version": "2.3.0",
"description": "Tidal on Electron with widevine(hifi) support",
"main": "src/main.js",
"scripts": {

View File

@ -21,7 +21,7 @@ trayModule.refreshTray = function (mainWindow) {
});
tray.setToolTip("Tidal-hifi");
if (mainWindow && store.get(settings.minimizeOnClose)) {
tray.setContextMenu(
Menu.buildFromTemplate([
@ -37,7 +37,7 @@ trayModule.refreshTray = function (mainWindow) {
mainWindow.destroy();
app.quit();
},
},
},
...mainMenu, //we add menu items from the other context
])
);