Skip to content

Commit

Permalink
window startup events
Browse files Browse the repository at this point in the history
  • Loading branch information
artembuslaev committed Aug 3, 2023
1 parent 6708cda commit 6b217c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions electron/main.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -125,7 +125,7 @@
"owner": "artembuslaev",
"name": "hedera-sdk-app"
},
"draft": true
"draft": false
}
}
]
Expand Down

0 comments on commit 6b217c1

Please sign in to comment.