Browse Source

Fix AppUserModelId for electron main process

master
jeffvli 3 years ago
committed by Jeff
parent
commit
9474e9f173
  1. 2
      src/main.dev.js

2
src/main.dev.js

@ -541,6 +541,8 @@ const createWindow = async () => {
});
if (isWindows()) {
app.setAppUserModelId(process.execPath);
mainWindow.on('resize', () => {
const window = mainWindow.getContentBounds();

Loading…
Cancel
Save