mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-20 04:38:59 +00:00
organize assets like images and stylesheets
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user