From 635d5bd978919679d9bf653421c0d813890605a8 Mon Sep 17 00:00:00 2001 From: Ghost <31184695+GHOSCHT@users.noreply.github.com> Date: Sat, 1 Aug 2020 17:12:59 +0200 Subject: [PATCH] Add icon, size & name change --- Dashboard/app/main/index.js | 12 ++++++------ Dashboard/dist-assets/icon.png | Bin 0 -> 1304 bytes 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 Dashboard/dist-assets/icon.png diff --git a/Dashboard/app/main/index.js b/Dashboard/app/main/index.js index 95d0a59..8f88bcd 100644 --- a/Dashboard/app/main/index.js +++ b/Dashboard/app/main/index.js @@ -20,8 +20,8 @@ const installExtensions = async () => { }; crashReporter.start({ - productName: 'YourName', - companyName: 'YourCompany', + productName: 'GHOSCHTS Lamp control', + companyName: 'GHOSCHT', submitURL: 'https://your-domain.com/url-to-submit', uploadToServer: false, }); @@ -40,14 +40,14 @@ app.on('ready', async () => { } mainWindow = new BrowserWindow({ - width: 1000, - height: 800, - minWidth: 640, - minHeight: 480, + width: 630, + height: 370, + resizable: false, show: false, webPreferences: { nodeIntegration: true, }, + icon: path.join(__dirname, '../../dist-assets/icon.png'), }); mainWindow.setMenu(null); diff --git a/Dashboard/dist-assets/icon.png b/Dashboard/dist-assets/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..a89899b7843119ede1e598635ce6090599d912e8 GIT binary patch literal 1304 zcmV+z1?T#SP)7t6jc<)yL*7}7#{?Z;psw%fQcc>#vp-!Ms$W4UC2g) ze+DjRqZ!;{|egCD~4umQV;*q#f5KzwVnvI`Wy3*LfRaf1NcXH63*b`ks% z=7}c3K8G`RHIRG=*5NoDbbTV|m&5O&3k{TVE9_(30-uo>jEmtaxE+21FTy5t;cJx7 zik~I=*!rwbBAEmeu#MXlbFeS~$DqZ(C=S6j#wAq5b}c*{1VIB@Ttm^(1ay)0g(mBE zfdqG88xz_Ou2>uQw(X?9t-Ql3~ zIDu+m>V%Vy#8?8)1)azKNt4#Va%g=m179Z+zY8r+p_rRjPGZf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