Fixed overview departments .js
This commit is contained in:
@@ -122,12 +122,13 @@ export class WindowManager {
|
||||
title: 'Announcement',
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, '..', 'main', 'preload.js'),
|
||||
contextIsolation: true,
|
||||
nodeIntegration: false,
|
||||
contextIsolation: true,
|
||||
sandbox: false,
|
||||
},
|
||||
})
|
||||
|
||||
this.announcementWindow.removeMenu()
|
||||
//this.announcementWindow.removeMenu()
|
||||
const announcementPath = path.join(this.pathToPagesDir, 'announcement.html')
|
||||
await this.announcementWindow.loadFile(announcementPath)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user