mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-23 03:23:05 +00:00
Merge pull request #51 from WebTools-NG/#32-Menu-lang-change
Enabled Vue Devtools
This commit is contained in:
commit
d173b57e23
1 changed files with 6 additions and 6 deletions
|
@ -10,7 +10,7 @@ console.log = log.log;
|
||||||
|
|
||||||
import {
|
import {
|
||||||
createProtocol,
|
createProtocol,
|
||||||
/* installVueDevtools */
|
installVueDevtools
|
||||||
} from 'vue-cli-plugin-electron-builder/lib'
|
} from 'vue-cli-plugin-electron-builder/lib'
|
||||||
|
|
||||||
const isDevelopment = process.env.NODE_ENV !== 'production'
|
const isDevelopment = process.env.NODE_ENV !== 'production'
|
||||||
|
@ -74,11 +74,11 @@ app.on('ready', async () => {
|
||||||
// Electron will not launch with Devtools extensions installed on Windows 10 with dark mode
|
// Electron will not launch with Devtools extensions installed on Windows 10 with dark mode
|
||||||
// If you are not using Windows 10 dark mode, you may uncomment these lines
|
// If you are not using Windows 10 dark mode, you may uncomment these lines
|
||||||
// In addition, if the linked issue is closed, you can upgrade electron and uncomment these lines
|
// In addition, if the linked issue is closed, you can upgrade electron and uncomment these lines
|
||||||
// try {
|
try {
|
||||||
// await installVueDevtools()
|
await installVueDevtools()
|
||||||
// } catch (e) {
|
} catch (e) {
|
||||||
// console.error('Vue Devtools failed to install:', e.toString())
|
console.error('Vue Devtools failed to install:', e.toString())
|
||||||
// }
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Menu.setApplicationMenu(null)
|
Menu.setApplicationMenu(null)
|
||||||
|
|
Loading…
Reference in a new issue