Fixed overview departments .js

This commit is contained in:
andrei-mihnea-cerbu
2025-02-12 18:33:20 +02:00
parent 3ed7efa806
commit 02fc5bc4c5
3 changed files with 13 additions and 8 deletions
+3 -2
View File
@@ -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)