feat: 优化
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
"@testing-library/jest-dom": "^5.16.2",
|
||||
"@testing-library/react": "^12.1.3",
|
||||
"@testing-library/user-event": "^13.5.0",
|
||||
"dayjs": "^1.10.8",
|
||||
"electron-store": "^8.0.1",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
@ -22,7 +23,7 @@
|
||||
"eject": "react-scripts eject",
|
||||
"make": "node --max-old-space-size=8192 && electron-builder --win --x64",
|
||||
"electron": "electron .",
|
||||
"electron:build": "electron-packager ./build TimeCat --platform=win32 --arch=x64 --out=./../out --asar --app-version=0.1.0"
|
||||
"electron:build": "electron-packager ./build TimeCat --platform=win32 --download.mirrorOptions.mirror=https://npmmirror.com/mirrors/electron/ --arch=x64 --out=./../out --asar --app-version=0.1.0"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
@ -49,11 +50,12 @@
|
||||
},
|
||||
"build": {
|
||||
"appId": "time-cat-v0.1.0",
|
||||
"productName": "timecat",
|
||||
"productName": "time cat",
|
||||
"win": {
|
||||
"target": [
|
||||
"nsis"
|
||||
]
|
||||
],
|
||||
"icon": "icon.ico"
|
||||
},
|
||||
"nsis": {
|
||||
"oneClick": false,
|
||||
|
Reference in New Issue
Block a user