mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-09-21 11:09:06 +02:00
Compare commits
6 Commits
b807aa2f76
...
5.0.0
Author | SHA1 | Date | |
---|---|---|---|
05b422e045 | |||
35289d8216 | |||
ea42b79cd8 | |||
6d859cf780 | |||
af20092053 | |||
166ca353cf |
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- uses: actions/setup-node@master
|
- uses: actions/setup-node@master
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 19
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- uses: actions/setup-node@master
|
- uses: actions/setup-node@master
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 19
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
|
||||||
@@ -36,6 +36,6 @@ jobs:
|
|||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- uses: actions/setup-node@master
|
- uses: actions/setup-node@master
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 19
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
@@ -6,9 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## 5.0.0
|
## 5.0.0
|
||||||
|
|
||||||
- Replaced "skipping arists" with a full implementation of an Adblock mechanism
|
- Replaced "muting artists" with a full implementation of an Adblock mechanism
|
||||||
> Disabled audio & visual ads, unlocked lyrics, suggested track, track info, unlimited skips thanks to uBlockOrigin custom filters ([source](https://github.com/uBlockOrigin/uAssets/issues/17495))
|
> Disabled audio & visual ads, unlocked lyrics, suggested track, track info, unlimited skips thanks to uBlockOrigin custom filters ([source](https://github.com/uBlockOrigin/uAssets/issues/17495))
|
||||||
|
|
||||||
|
- @thanasistrisp updated Electron to 24.1.2 and fixed the tray bug :)
|
||||||
|
|
||||||
## 4.4.0
|
## 4.4.0
|
||||||
|
|
||||||
- Updated shortcut hint on the menubar to reflect the new `ctrl+=` shortcut.
|
- Updated shortcut hint on the menubar to reflect the new `ctrl+=` shortcut.
|
||||||
|
@@ -10,9 +10,8 @@ The web version of [listen.tidal.com](https://listen.tidal.com) running in elect
|
|||||||
|
|
||||||
<!-- toc -->
|
<!-- toc -->
|
||||||
|
|
||||||
- [Tidal-hifi](#tidal-hifi)
|
|
||||||
- [Table of Contents](#table-of-contents)
|
|
||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
|
- [Dependencies](#dependencies)
|
||||||
- [Using releases](#using-releases)
|
- [Using releases](#using-releases)
|
||||||
- [Snap](#snap)
|
- [Snap](#snap)
|
||||||
- [Arch Linux](#arch-linux)
|
- [Arch Linux](#arch-linux)
|
||||||
@@ -25,7 +24,7 @@ The web version of [listen.tidal.com](https://listen.tidal.com) running in elect
|
|||||||
- [last.fm doesn't work out of the box. Use rescrobbler as a workaround](#lastfm-doesnt-work-out-of-the-box-use-rescrobbler-as-a-workaround)
|
- [last.fm doesn't work out of the box. Use rescrobbler as a workaround](#lastfm-doesnt-work-out-of-the-box-use-rescrobbler-as-a-workaround)
|
||||||
- [Why](#why)
|
- [Why](#why)
|
||||||
- [Why not extend existing projects?](#why-not-extend-existing-projects)
|
- [Why not extend existing projects?](#why-not-extend-existing-projects)
|
||||||
- [Special thanks to...](#special-thanks-to)
|
- [Special thanks to](#special-thanks-to)
|
||||||
- [Buy me a coffee? Please don't](#buy-me-a-coffee-please-dont)
|
- [Buy me a coffee? Please don't](#buy-me-a-coffee-please-dont)
|
||||||
- [Images](#images)
|
- [Images](#images)
|
||||||
- [Settings window](#settings-window)
|
- [Settings window](#settings-window)
|
||||||
@@ -35,6 +34,10 @@ The web version of [listen.tidal.com](https://listen.tidal.com) running in elect
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
Note that you **need** a notification library such as [libnotify](https://github.com/GNOME/libnotify) or [dunst](https://github.com/dunst-project/dunst) in order for the software to work properly.
|
||||||
|
|
||||||
### Using releases
|
### Using releases
|
||||||
|
|
||||||
Various packaged versions of the software are available on the [releases](https://github.com/Mastermindzh/tidal-hifi/releases) tab.
|
Various packaged versions of the software are available on the [releases](https://github.com/Mastermindzh/tidal-hifi/releases) tab.
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
appId: com.rickvanlieshout.tidal-hifi
|
appId: com.rickvanlieshout.tidal-hifi
|
||||||
electronVersion: 19.0.5
|
electronVersion: 24.1.2
|
||||||
electronDownload:
|
electronDownload:
|
||||||
version: 19.0.5+wvcus
|
version: 24.1.2+wvcus
|
||||||
mirror: https://github.com/castlabs/electron-releases/releases/download/v
|
mirror: https://github.com/castlabs/electron-releases/releases/download/v
|
||||||
snap:
|
snap:
|
||||||
plugs:
|
plugs:
|
||||||
|
8024
package-lock.json
generated
8024
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
@@ -34,19 +34,19 @@
|
|||||||
"@electron/remote": "^2.0.9",
|
"@electron/remote": "^2.0.9",
|
||||||
"discord-rpc": "^4.0.1",
|
"discord-rpc": "^4.0.1",
|
||||||
"electron-store": "^8.1.0",
|
"electron-store": "^8.1.0",
|
||||||
"express": "^4.18.1",
|
"express": "^4.18.2",
|
||||||
"hotkeys-js": "^3.10.1",
|
"hotkeys-js": "^3.10.2",
|
||||||
"mpris-service": "^2.1.2",
|
"mpris-service": "^2.1.2",
|
||||||
"request": "^2.88.2",
|
"request": "^2.88.2",
|
||||||
"sass": "^1.60.0"
|
"sass": "^1.62.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@mastermindzh/prettier-config": "^1.0.0",
|
"@mastermindzh/prettier-config": "^1.0.0",
|
||||||
"electron": "git+https://github.com/castlabs/electron-releases.git#v19.0.5+wvcus",
|
"electron": "git+https://github.com/castlabs/electron-releases.git#v24.1.2+wvcus",
|
||||||
"electron-builder": "^24.2.1",
|
"electron-builder": "^24.2.1",
|
||||||
"js-yaml": "^3.14.1",
|
"js-yaml": "^4.1.0",
|
||||||
"markdown-toc": "^1.2.0",
|
"markdown-toc": "^1.2.0",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.8.7",
|
||||||
"sass-lint": "^1.13.1",
|
"sass-lint": "^1.13.1",
|
||||||
"sass-lint-auto-fix": "^0.21.2"
|
"sass-lint-auto-fix": "^0.21.2"
|
||||||
},
|
},
|
||||||
|
@@ -91,6 +91,7 @@ function createWindow(options = {}) {
|
|||||||
backgroundColor: options.backgroundColor,
|
backgroundColor: options.backgroundColor,
|
||||||
autoHideMenuBar: true,
|
autoHideMenuBar: true,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
|
sandbox: false,
|
||||||
preload: path.join(__dirname, "preload.js"),
|
preload: path.join(__dirname, "preload.js"),
|
||||||
plugins: true,
|
plugins: true,
|
||||||
devTools: true, // I like tinkering, others might too
|
devTools: true, // I like tinkering, others might too
|
||||||
@@ -159,7 +160,7 @@ app.on("ready", async () => {
|
|||||||
if (store.get(settings.adBlock)) {
|
if (store.get(settings.adBlock)) {
|
||||||
const filter = { urls: ["https://listen.tidal.com/*"] };
|
const filter = { urls: ["https://listen.tidal.com/*"] };
|
||||||
session.defaultSession.webRequest.onBeforeRequest(filter, (details, callback) => {
|
session.defaultSession.webRequest.onBeforeRequest(filter, (details, callback) => {
|
||||||
if (details.url.match(/\d\?country/)) callback({ cancel: true });
|
if (details.url.match(/\/users\/.*\d\?country/)) callback({ cancel: true });
|
||||||
else callback({ cancel: false });
|
else callback({ cancel: false });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@@ -13,7 +13,15 @@ trayModule.addTray = function (mainWindow, options = { icon: "" }) {
|
|||||||
tray.setContextMenu(menu);
|
tray.setContextMenu(menu);
|
||||||
|
|
||||||
tray.on("click", function () {
|
tray.on("click", function () {
|
||||||
mainWindow.isVisible() ? mainWindow.focus() : mainWindow.show();
|
if (mainWindow.isVisible()) {
|
||||||
|
if (!mainWindow.isFocused()) {
|
||||||
|
mainWindow.focus();
|
||||||
|
} else {
|
||||||
|
mainWindow.hide();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
mainWindow.show();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user