Merge branch 'innolab' of https://github.com/ciderapp/Cider into innolab

This commit is contained in:
Maikiwi 2022-02-17 19:20:45 -08:00
commit ecfdeece64
22 changed files with 566 additions and 128 deletions

View file

@ -47,6 +47,7 @@ export class BrowserWindow {
"pages/library-videos",
"pages/remote-pair",
"pages/themes-github",
"pages/replay",
"components/mediaitem-artwork",
"components/artwork-material",
"components/menu-panel",
@ -125,6 +126,16 @@ export class BrowserWindow {
this.options.width = windowState.width;
this.options.height = windowState.height;
switch(process.platform) {
default:
break;
case "linux":
this.options.autoHideMenuBar = true
this.options.frame = true
break;
}
// Start the webserver for the browser window to load
this.startWebServer();
@ -699,7 +710,9 @@ export class BrowserWindow {
ipcMain.on('get-version', (_event) => {
_event.returnValue = app.getVersion()
});
ipcMain.on('open-appdata', (_event) => {
shell.openPath(app.getPath('userData'));
});
/* *********************************************************************************************
* Window Events
* **********************************************************************************************/

View file

@ -27,7 +27,7 @@ export class Store {
},
"audio": {
"volume": 1,
"volumeStep": 0.1,
"volumeStep": 0.02,
"maxVolume": 1,
"lastVolume": 1,
"muted": false,