mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-09-11 06:14:42 +02:00
Compare commits
3 Commits
8f47756244
...
4.0.1
Author | SHA1 | Date | |
---|---|---|---|
fa9ab22867 | |||
207a61d199 | |||
|
7b18322e17 |
@@ -4,6 +4,15 @@ 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/),
|
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).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## 4.0.1
|
||||||
|
|
||||||
|
- Updated build config to make use of a base file that doesn't build anything.
|
||||||
|
- This fixes the issue of unwanted extra build targets that were introduced with the electron-builder update
|
||||||
|
|
||||||
|
## 4.0.0
|
||||||
|
|
||||||
|
- Updated to Electron 19.0.5
|
||||||
|
|
||||||
## 3.1.1
|
## 3.1.1
|
||||||
|
|
||||||
- Media update timeout set to 500 instead of 200
|
- Media update timeout set to 500 instead of 200
|
||||||
|
33
build/electron-builder.base.yml
Normal file
33
build/electron-builder.base.yml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
appId: com.rickvanlieshout.tidal-hifi
|
||||||
|
electronVersion: 19.0.5
|
||||||
|
electronDownload:
|
||||||
|
version: 19.0.5+wvcus
|
||||||
|
mirror: https://github.com/castlabs/electron-releases/releases/download/v
|
||||||
|
snap:
|
||||||
|
plugs:
|
||||||
|
- default
|
||||||
|
- screen-inhibit-control
|
||||||
|
linux:
|
||||||
|
category: Audio
|
||||||
|
target:
|
||||||
|
- dir
|
||||||
|
executableName: tidal-hifi
|
||||||
|
desktop:
|
||||||
|
Encoding: UTF-8
|
||||||
|
Name: tidal-hifi
|
||||||
|
GenericName: tidal-hifi
|
||||||
|
Comment: The web version of listen.tidal.com running in electron with hifi support thanks to widevine.
|
||||||
|
Icon: assets/icon.png
|
||||||
|
StartupNotify: true
|
||||||
|
Terminal: false
|
||||||
|
Type: Application
|
||||||
|
Categories: Network;Application;AudioVideo;Audio;Video
|
||||||
|
StartupWMClass: tidal-hifi
|
||||||
|
X-PulseAudio-Properties: media.role=music
|
||||||
|
mac:
|
||||||
|
category: public.app-category.entertainment
|
||||||
|
win:
|
||||||
|
icon: build/icon.png
|
||||||
|
artifactName: "tidalhifi"
|
||||||
|
appId: com.rickvanlieshout.tidalhifi
|
||||||
|
executableName: tidalhifi
|
@@ -1,4 +1,4 @@
|
|||||||
extends: ./build/electron-builder.yml
|
extends: ./build/electron-builder.base.yml
|
||||||
linux:
|
linux:
|
||||||
category: Audio
|
category: Audio
|
||||||
icon: ./assets/icon.png
|
icon: ./assets/icon.png
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
extends: ./build/electron-builder.yml
|
extends: ./build/electron-builder.base.yml
|
||||||
linux:
|
linux:
|
||||||
category: Audio
|
category: Audio
|
||||||
icon: ./assets/icon.png
|
icon: ./assets/icon.png
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
extends: ./build/electron-builder.yml
|
extends: ./build/electron-builder.base.yml
|
||||||
linux:
|
linux:
|
||||||
category: Audio
|
category: Audio
|
||||||
icon: ./assets/TIDAL.icns
|
icon: ./assets/TIDAL.icns
|
||||||
target:
|
target:
|
||||||
- rpm
|
- rpm
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
extends: ./build/electron-builder.yml
|
extends: ./build/electron-builder.base.yml
|
||||||
linux:
|
linux:
|
||||||
category: Audio
|
category: Audio
|
||||||
icon: ./assets/icon.png
|
icon: ./assets/icon.png
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
extends: ./build/electron-builder.yml
|
extends: ./build/electron-builder.base.yml
|
||||||
linux:
|
linux:
|
||||||
target:
|
target:
|
||||||
- dir
|
- dir
|
||||||
|
@@ -1,12 +1,7 @@
|
|||||||
appId: com.rickvanlieshout.tidal-hifi
|
electronVersion: 19.0.5
|
||||||
electronVersion: 15.5.2
|
|
||||||
electronDownload:
|
electronDownload:
|
||||||
version: 15.5.2-wvvmp
|
version: 19.0.5+wvcus
|
||||||
mirror: https://github.com/castlabs/electron-releases/releases/download/v
|
mirror: https://github.com/castlabs/electron-releases/releases/download/v
|
||||||
snap:
|
|
||||||
plugs:
|
|
||||||
- default
|
|
||||||
- screen-inhibit-control
|
|
||||||
linux:
|
linux:
|
||||||
category: Audio
|
category: Audio
|
||||||
target:
|
target:
|
||||||
@@ -17,21 +12,6 @@ linux:
|
|||||||
- AppImage
|
- AppImage
|
||||||
- snap
|
- snap
|
||||||
- freebsd
|
- freebsd
|
||||||
executableName: tidal-hifi
|
|
||||||
desktop:
|
|
||||||
Encoding: UTF-8
|
|
||||||
Name: tidal-hifi
|
|
||||||
GenericName: tidal-hifi
|
|
||||||
Comment: The web version of listen.tidal.com running in electron with hifi support thanks to widevine.
|
|
||||||
Icon: assets/icon.png
|
|
||||||
StartupNotify: true
|
|
||||||
Terminal: false
|
|
||||||
Type: Application
|
|
||||||
Categories: Network;Application;AudioVideo;Audio;Video
|
|
||||||
StartupWMClass: tidal-hifi
|
|
||||||
X-PulseAudio-Properties: media.role=music
|
|
||||||
mac:
|
|
||||||
category: public.app-category.entertainment
|
|
||||||
win:
|
win:
|
||||||
target: msi
|
target: msi
|
||||||
icon: build/icon.png
|
icon: build/icon.png
|
||||||
|
511
package-lock.json
generated
511
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tidal-hifi",
|
"name": "tidal-hifi",
|
||||||
"version": "3.1.1",
|
"version": "4.0.1",
|
||||||
"description": "Tidal on Electron with widevine(hifi) support",
|
"description": "Tidal on Electron with widevine(hifi) support",
|
||||||
"main": "src/main.js",
|
"main": "src/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -12,7 +12,8 @@
|
|||||||
"build-snap": "electron-builder --publish=never -c ./build/electron-builder.snap.yml",
|
"build-snap": "electron-builder --publish=never -c ./build/electron-builder.snap.yml",
|
||||||
"build-arch": "electron-builder --publish=never -c ./build/electron-builder.pacman.yml",
|
"build-arch": "electron-builder --publish=never -c ./build/electron-builder.pacman.yml",
|
||||||
"build-wl": "electron-builder --publish=never -c ./build/electron-builder.yml -wl",
|
"build-wl": "electron-builder --publish=never -c ./build/electron-builder.yml -wl",
|
||||||
"build-mac": "electron-builder --publish=never -c ./build/electron-builder.yml -m"
|
"build-mac": "electron-builder --publish=never -c ./build/electron-builder.yml -m",
|
||||||
|
"build-base": "electron-builder --publish=never -c ./build/electron-builder.base.yml"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"electron",
|
"electron",
|
||||||
@@ -34,8 +35,8 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@mastermindzh/prettier-config": "^1.0.0",
|
"@mastermindzh/prettier-config": "^1.0.0",
|
||||||
"electron": "git+https://github.com/castlabs/electron-releases.git#v15.5.2-wvvmp",
|
"electron": "git+https://github.com/castlabs/electron-releases.git#v19.0.5+wvcus",
|
||||||
"electron-builder": "^22.14.5",
|
"electron-builder": "^23.2.0",
|
||||||
"prettier": "^2.5.0"
|
"prettier": "^2.5.0"
|
||||||
},
|
},
|
||||||
"prettier": "@mastermindzh/prettier-config"
|
"prettier": "@mastermindzh/prettier-config"
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
require("@electron/remote/main").initialize();
|
require("@electron/remote/main").initialize();
|
||||||
const { app, BrowserWindow, globalShortcut, ipcMain } = require("electron");
|
const { app, BrowserWindow, components, globalShortcut, ipcMain } = require("electron");
|
||||||
const {
|
const {
|
||||||
settings,
|
settings,
|
||||||
store,
|
store,
|
||||||
@@ -124,8 +124,9 @@ function addGlobalShortcuts() {
|
|||||||
// This method will be called when Electron has finished
|
// This method will be called when Electron has finished
|
||||||
// initialization and is ready to create browser windows.
|
// initialization and is ready to create browser windows.
|
||||||
// Some APIs can only be used after this event occurs.
|
// Some APIs can only be used after this event occurs.
|
||||||
app.on("ready", () => {
|
app.on("ready", async () => {
|
||||||
if (isMainInstanceOrMultipleInstancesAllowed()) {
|
if (isMainInstanceOrMultipleInstancesAllowed()) {
|
||||||
|
await components.whenReady();
|
||||||
createWindow();
|
createWindow();
|
||||||
addMenu();
|
addMenu();
|
||||||
createSettingsWindow();
|
createSettingsWindow();
|
||||||
|
Reference in New Issue
Block a user