organize assets like images and stylesheets

This commit is contained in:
2023-01-06 09:42:01 -06:00
parent 2a4ab214b8
commit 341d093645
20 changed files with 5374 additions and 822 deletions
+5
View File
@@ -4,6 +4,7 @@ const path = require('path');
const isMac = process.platform === 'darwin';
const isWin = process.platform === 'win32';
const isLinux = process.platform === 'linux';
let autoUpdate = false;
let manualUpdateCheck = false;
@@ -192,6 +193,10 @@ const createWindow = () => {
mainWindow = new BrowserWindow(windowWin);
}
if (isLinux) {
mainWindow.setIcon(path.join(__dirname, 'src', 'assets', 'img', 'icon.png'));
}
mainWindow.loadFile('index.html');
mainWindow.on('ready-to-show', () => {