我发现如果是绿色版就太慢了,等一下就推1.0.1
This commit is contained in:
parent
61109b884a
commit
982a728e7f
5
main.js
5
main.js
|
|
@ -11,10 +11,7 @@ if (process.platform === 'win32') {
|
|||
|
||||
let mainWindow
|
||||
|
||||
const portableDir = process.env.PORTABLE_EXECUTABLE_DIR
|
||||
const configDir = portableDir
|
||||
? path.join(portableDir, 'data')
|
||||
: path.join(app.getPath('appData'), 'classroom-assistant', 'ca')
|
||||
const configDir = path.join(app.getPath('appData'), 'classroom-assistant', 'ca')
|
||||
const configPath = path.join(configDir, 'memory.ini')
|
||||
const settingsPath = path.join(configDir, 'setting.ini')
|
||||
const goodRandomPath = path.join(configDir, 'goodrandom.json')
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@
|
|||
"start": "electron .",
|
||||
"build": "electron-builder",
|
||||
"build:win": "electron-builder --win",
|
||||
"build:win7": "electron-builder --win --config.win.target=nsis",
|
||||
"build:portable": "electron-builder --win portable --config.win.target=portable"
|
||||
"build:win7": "electron-builder --win --config.win.target=nsis"
|
||||
},
|
||||
"keywords": [
|
||||
"electron",
|
||||
|
|
@ -47,9 +46,6 @@
|
|||
"createDesktopShortcut": true,
|
||||
"createStartMenuShortcut": true,
|
||||
"shortcutName": "课堂小助手"
|
||||
},
|
||||
"portable": {
|
||||
"artifactName": "课堂小助手-${version}-便携版.exe"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
Reference in New Issue