mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-24 10:36:00 +00:00
icon cleanup
This commit is contained in:
BIN
app/256x256.png
BIN
app/256x256.png
Binary file not shown.
|
Before Width: | Height: | Size: 24 KiB |
BIN
app/512x512.png
BIN
app/512x512.png
Binary file not shown.
|
Before Width: | Height: | Size: 137 KiB |
@@ -18,7 +18,7 @@
|
|||||||
"AppImage",
|
"AppImage",
|
||||||
"deb"
|
"deb"
|
||||||
],
|
],
|
||||||
"icon": "256x256.png",
|
"icon": "icon.png",
|
||||||
"category": "Development",
|
"category": "Development",
|
||||||
"synopsis": "Database administration tool for MS SQL, MySQL and PostgreSQL"
|
"synopsis": "Database administration tool for MS SQL, MySQL and PostgreSQL"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -114,12 +114,13 @@ function buildMenu() {
|
|||||||
|
|
||||||
function createWindow() {
|
function createWindow() {
|
||||||
const bounds = store.get('winBounds');
|
const bounds = store.get('winBounds');
|
||||||
|
|
||||||
mainWindow = new BrowserWindow({
|
mainWindow = new BrowserWindow({
|
||||||
width: 1200,
|
width: 1200,
|
||||||
height: 800,
|
height: 800,
|
||||||
title: 'DbGate',
|
title: 'DbGate',
|
||||||
icon: os.platform() == 'win32' ? 'icon.ico' : 'icon.png',
|
|
||||||
...bounds,
|
...bounds,
|
||||||
|
icon: os.platform() == 'win32' ? 'icon.ico' : path.resolve(__dirname, '../icon.png'),
|
||||||
show: false,
|
show: false,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user