rekkyrosso / ampcast

Ampcast music player
https://ampcast.app/
GNU General Public License v3.0
76 stars 2 forks source link

Errors when opening app and modifying preferences #14

Open toothdog opened 3 days ago

toothdog commented 3 days ago

(I'm running 0.9.9 on a x86 macbook) When I first open the app, and occasionally while modifying certain preferences (e.g. frame color in custom theme settings) I will get an error or a series of errors of the following type: Unhandled Error TypeError: mainWindow.setTitleBarOverlay is not a function at IpcMainImpl. (/Applications/ampcast.app/Contents/Resources/app.asar/src/main.js:114:20) at IpcMainImpl.emit (node:events:519:28) at WebContents. (node:electron/js2c/browser_init:2:84396) at WebContents.emit (node:events:519:28)

Unhandled Error TypeError: mainWindow.setTitleBarOverlay is not a function at IpcMainImpl. (/Applications/ampcast.app/Contents/Resources/app.asar/src/main.js:117:20) at IpcMainImpl.emit (node:events:519:28) at WebContents. (node:electron/js2c/browser_init:2:84396) at WebContents.emit (node:events:519:28)

Unhandled Error TypeError: mainWindow.setTitleBarOverlay is not a function at IpcMainImpl. (/Applications/ampcast.app/Contents/Resources/app.asar/src/main.js:122:20) at IpcMainImpl.emit (node:events:519:28) at WebContents. (node:electron/js2c/browser_init:2:84396) at WebContents.emit (node:events:519:28)

Nothing else appears to be broken due to this, but it does make for an annoyance during navigation.

rekkyrosso commented 1 day ago

I'll fix this in the next release. At least you won't get an error.