Feat(Electron-store): Add electron store

Add electron store to support install tool
This commit is contained in:
2024-05-08 12:36:16 +08:00
parent d677aeed07
commit 1ef2db5f47
9 changed files with 334 additions and 14 deletions

View File

@@ -50,7 +50,7 @@ app.on('open-url', (_, argv) => {
handleUrl(argv)
})
function createWindow(): void {
const createWindow = () => {
// Create the browser window.
mainWindow = new BrowserWindow({
width: 900,
@@ -120,3 +120,4 @@ app.on('window-all-closed', () => {
// In this file you can include the rest of your app's specific main process
// code. You can also put them in separate files and require them here.
import './dataProcess'