diff --git a/electron/main.ts b/electron/main.ts index 8f23775..cb1a695 100644 --- a/electron/main.ts +++ b/electron/main.ts @@ -1,5 +1,7 @@ import { app, BrowserWindow, ipcMain } from 'electron' +if (require('electron-squirrel-startup') === true) app.quit(); + let mainWindow: BrowserWindow | null declare const MAIN_WINDOW_WEBPACK_ENTRY: string diff --git a/package.json b/package.json index f20d930..d6ddc2a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hedera-sdk-app", "author": "Artem Buslaev", - "version": "0.1.0", + "version": "0.1.1", "description": "An Electron boilerplate including TypeScript, React, Jest and ESLint.", "main": "./.webpack/main/index.js", "scripts": { @@ -125,7 +125,7 @@ "owner": "artembuslaev", "name": "hedera-sdk-app" }, - "draft": true + "draft": false } } ]