Skip to content

Commit

Permalink
hotfix, downgrade packaged version to 8.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mastermindzh committed Apr 21, 2022
1 parent 7f5f5e7 commit 5fde20a
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 159 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ 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.8.2

- Updated dependencies
- Downgraded packaged version of electron to 8.5.2, doesn't seem to like a newer build
- Fixed the annoying (and useless) terminal warning about `allowRendererProcessReuse`

## 2.8.1

- Mar0xy fixed some build issues (thanks!)
Expand Down
4 changes: 2 additions & 2 deletions build/electron-builder.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
appId: com.rickvanlieshout.tidal-hifi
electronVersion: 16.0.4
electronVersion: 8.5.2
electronDownload:
version: 16.0.4+wvcus.2
version: 8.5.2-wvvmp
mirror: https://github.com/castlabs/electron-releases/releases/download/v
snap:
plugs:
Expand Down
173 changes: 22 additions & 151 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tidal-hifi",
"version": "2.8.1",
"version": "2.8.2",
"description": "Tidal on Electron with widevine(hifi) support",
"main": "src/main.js",
"scripts": {
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"devDependencies": {
"@mastermindzh/prettier-config": "^1.0.0",
"electron": "git+https://github.com/castlabs/electron-releases.git#v16.0.4+wvcus.2",
"electron": "git+https://github.com/castlabs/electron-releases.git#15.5.2-wvvmp",
"electron-builder": "^22.14.5",
"electron-reload": "^1.5.0",
"prettier": "^2.5.0"
Expand Down
1 change: 1 addition & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ function addGlobalShortcuts() {
// initialization and is ready to create browser windows.
// Some APIs can only be used after this event occurs.
app.on("ready", () => {
app.allowRendererProcessReuse = true;
createWindow();
addMenu();
createSettingsWindow();
Expand Down
4 changes: 0 additions & 4 deletions src/scripts/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,10 @@ const mainMenu = [
},
]
: []),
// { role: 'fileMenu' }
{
label: "File",
submenu: [settingsMenuEntry, isMac ? { role: "close" } : quitMenuEntry],
},
// { role: 'editMenu' }
{
label: "Edit",
submenu: [
Expand All @@ -69,7 +67,6 @@ const mainMenu = [
settingsMenuEntry,
],
},
// { role: 'viewMenu' }
{
label: "View",
submenu: [
Expand All @@ -83,7 +80,6 @@ const mainMenu = [
{ role: "togglefullscreen" },
],
},
// { role: 'windowMenu' }
{
label: "Window",
submenu: [
Expand Down

0 comments on commit 5fde20a

Please sign in to comment.