mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-03 14:03:57 +00:00
linux app icon
This commit is contained in:
@@ -150,6 +150,9 @@ function createWindow() {
|
|||||||
store.set('winBounds', mainWindow.getBounds());
|
store.set('winBounds', mainWindow.getBounds());
|
||||||
});
|
});
|
||||||
mainWindow.loadURL(startUrl);
|
mainWindow.loadURL(startUrl);
|
||||||
|
if (os.platform() == 'linux') {
|
||||||
|
mainWindow.setIcon(path.resolve(__dirname, '../icon.png'));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
splashWindow = new BrowserWindow({
|
splashWindow = new BrowserWindow({
|
||||||
|
|||||||
Reference in New Issue
Block a user