File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed
Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 108108 },
109109 "dependencies" : {
110110 "electron-is-dev" : " ^2.0.0" ,
111- "electron-persist-secure" : " ^1.2.1 " ,
111+ "electron-persist-secure" : " ^1.2.4 " ,
112112 "electron-squirrel-startup" : " ^1.0.0" ,
113113 "react" : " ^17.0.2" ,
114114 "react-dom" : " ^17.0.2" ,
Original file line number Diff line number Diff line change @@ -18,17 +18,13 @@ if (require("electron-squirrel-startup")) {
1818 app . quit ( ) ;
1919}
2020
21-
2221const createStores = ( ) : void => {
23-
2422 new Store ( {
25- projectName : "config" // The stores name
23+ configName : "config" , // The stores name
2624 } ) ;
27-
28- }
25+ } ;
2926
3027const createWindow = ( ) : void => {
31-
3228 // Create the browser window.
3329 const mainWindow = new BrowserWindow ( {
3430 height : 720 ,
@@ -67,7 +63,7 @@ const createWindow = (): void => {
6763// Some APIs can only be used after this event occurs.
6864app . on ( "ready" , createWindow ) ;
6965
70- createStores ( ) // Make sure to call this ONCE.
66+ createStores ( ) ; // Make sure to call this ONCE.
7167
7268// Quit when all windows are closed, except on macOS. There, it's common
7369// for applications and their menu bar to stay active until the user quits
Original file line number Diff line number Diff line change @@ -3342,10 +3342,10 @@ electron-packager@^15.0.0:
33423342 semver "^7.1.3"
33433343 yargs-parser "^20.0.0"
33443344
3345- electron-persist-secure@^1.2.1 :
3346- version "1.2.1 "
3347- resolved "https://registry.yarnpkg.com/electron-persist-secure/-/electron-persist-secure-1.2.1 .tgz#f7522879198b26d27cd16d1397d45b1f4bac4577 "
3348- integrity sha512-YJlgCggC2BTR1avg+4NIDUtbIpTVQsZqCU/H7wLtJrR2EiFPhA2F0QR25K4BE0uF/R98PKJi1DBZjt5bCyfMLw ==
3345+ electron-persist-secure@^1.2.4 :
3346+ version "1.2.4 "
3347+ resolved "https://registry.yarnpkg.com/electron-persist-secure/-/electron-persist-secure-1.2.4 .tgz#0d27375a10616b2dc5ddd54608e147948ef0e613 "
3348+ integrity sha512-sPd8hEQ8pgyR7dbrbgPY6OYxti/vq0D4soTMRu+n/r4xVLc/woO3EncSelnh8Ic3yiAJhfhZIx28rw8RtUhbOg ==
33493349 dependencies :
33503350 conf "https://github.com/saucesteals/conf"
33513351
You can’t perform that action at this time.
0 commit comments