From 819464a614b5ee904bb6235ea32ed63ba6f9dae0 Mon Sep 17 00:00:00 2001 From: Nicolas St-Amour Date: Sat, 26 Feb 2022 10:14:18 -0500 Subject: [PATCH 1/2] fix: removed custom mac container setting --- src/constants.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/constants.ts b/src/constants.ts index ef5d094..744d59a 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -6,7 +6,6 @@ export const SPOTIFY_API_URL = 'https://api.spotify.com/v1'; export const WINDOWS = os.platform() === 'win32'; export const LINUX = os.platform() === 'linux'; export const MACOS = os.platform() === 'darwin'; -export const MACOS_MOJAVE_AND_NEWER = MACOS && parseInt(os.release().split('.')[0]) >= 18; export const HEIGHT = 150; export const WIDTH = 150; @@ -22,18 +21,17 @@ export const LOFI_SHUFFLED_PLAYLIST_NAME = 'Shuffled by Lofi'; // See: https://github.com/electron/electron/issues/13164 // NOTE: This only works because we're using some black magic to return our own ConstrainFrameRect export const CONTAINER = { - VERTICAL: MACOS_MOJAVE_AND_NEWER ? 4000 : 800, - HORIZONTAL: MACOS_MOJAVE_AND_NEWER ? 4000 : 800, + VERTICAL: 800, + HORIZONTAL: 800, }; export const SETTINGS_CONTAINER = { VERTICAL: 500, HORIZONTAL: 500, }; - export const DEFAULT_SETTINGS = { version: version, - debug: false, + debug: true, hardware_acceleration: true, lofi: { visualization: 0, From 9574ef6db6432283e30a04dd07cb5a2f31d1e997 Mon Sep 17 00:00:00 2001 From: Nicolas St-Amour Date: Sun, 27 Feb 2022 18:39:45 -0500 Subject: [PATCH 2/2] Release v1.6.1 --- package.json | 2 +- src/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 85dc2c5..a816b5b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lofi", - "version": "1.6.0", + "version": "1.6.1", "description": "Mini Spotify player with visualizations.", "homepage": "http://lofi.rocks", "main": "./pack/main.bundle.js", diff --git a/src/constants.ts b/src/constants.ts index 744d59a..da241ef 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -31,7 +31,7 @@ export const SETTINGS_CONTAINER = { }; export const DEFAULT_SETTINGS = { version: version, - debug: true, + debug: false, hardware_acceleration: true, lofi: { visualization: 0,