settings: refactor settings store

read-only: pass flag with index.html response
theme: clean & remove old themes
This commit is contained in:
bordun 2020-03-20 12:57:47 +01:00
parent a6b82a4c93
commit a588fb2b4a
23 changed files with 203 additions and 418 deletions

View file

@ -14,7 +14,7 @@ module.exports = function(options={}) {
window = new BrowserWindow({
width: options.width || screenSize.width,
height: options.height || screenSize.height,
title: options.title || settings.read('appName'),
title: options.title || settings.infos.appName,
icon: path.resolve(__dirname + '/../assets/logo.png'),
backgroundColor: options.color || theme.backgroundColor,
type: options.type,