mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +00:00
fix building
This commit is contained in:
parent
9b98bc9e91
commit
1731087cc1
@ -4,7 +4,7 @@ import { app, protocol, BrowserWindow, ipcMain } from 'electron';
|
||||
import { autoUpdater } from 'electron-updater';
|
||||
import {
|
||||
createProtocol,
|
||||
installVueDevtools
|
||||
// installVueDevtools
|
||||
} from 'vue-cli-plugin-electron-builder/lib';
|
||||
import theme from '@/theme';
|
||||
import { getMainWindowSize } from './screenSize';
|
||||
@ -118,11 +118,11 @@ app.on('ready', async () => {
|
||||
// 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
|
||||
// In addition, if the linked issue is closed, you can upgrade electron and uncomment these lines
|
||||
try {
|
||||
await installVueDevtools();
|
||||
} catch (e) {
|
||||
console.error('Vue Devtools failed to install:', e.toString());
|
||||
}
|
||||
// try {
|
||||
// await installVueDevtools();
|
||||
// } catch (e) {
|
||||
// console.error('Vue Devtools failed to install:', e.toString());
|
||||
// }
|
||||
}
|
||||
createWindow();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user