Add icon, size & name change
This commit is contained in:
parent
9e9245bbcc
commit
635d5bd978
2 changed files with 6 additions and 6 deletions
|
@ -20,8 +20,8 @@ const installExtensions = async () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
crashReporter.start({
|
crashReporter.start({
|
||||||
productName: 'YourName',
|
productName: 'GHOSCHTS Lamp control',
|
||||||
companyName: 'YourCompany',
|
companyName: 'GHOSCHT',
|
||||||
submitURL: 'https://your-domain.com/url-to-submit',
|
submitURL: 'https://your-domain.com/url-to-submit',
|
||||||
uploadToServer: false,
|
uploadToServer: false,
|
||||||
});
|
});
|
||||||
|
@ -40,14 +40,14 @@ app.on('ready', async () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
mainWindow = new BrowserWindow({
|
mainWindow = new BrowserWindow({
|
||||||
width: 1000,
|
width: 630,
|
||||||
height: 800,
|
height: 370,
|
||||||
minWidth: 640,
|
resizable: false,
|
||||||
minHeight: 480,
|
|
||||||
show: false,
|
show: false,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
},
|
},
|
||||||
|
icon: path.join(__dirname, '../../dist-assets/icon.png'),
|
||||||
});
|
});
|
||||||
|
|
||||||
mainWindow.setMenu(null);
|
mainWindow.setMenu(null);
|
||||||
|
|
BIN
Dashboard/dist-assets/icon.png
Normal file
BIN
Dashboard/dist-assets/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Reference in a new issue