From e418aafdb88f04b4d70f74d8b3210e667ce5154b Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Sat, 20 Aug 2022 12:18:10 +0200 Subject: [PATCH] remove menu and fix message not updating on checkingUpdate.html --- src/client/assets/js/checkingUpdate.js | 2 +- src/server/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/assets/js/checkingUpdate.js b/src/client/assets/js/checkingUpdate.js index a876c91..9d69ce6 100644 --- a/src/client/assets/js/checkingUpdate.js +++ b/src/client/assets/js/checkingUpdate.js @@ -19,5 +19,5 @@ app = vue.createApp({ app.mount("#vue"); ipcRenderer.on("update-available", (event, arg) => { - this.fullscreenText = "Mise à jour disponible, téléchargement..." + app.fullscreenText = "Mise à jour disponible, téléchargement..." }); \ No newline at end of file diff --git a/src/server/main.js b/src/server/main.js index 8f2ac01..a001ac9 100644 --- a/src/server/main.js +++ b/src/server/main.js @@ -28,7 +28,7 @@ function createWindow () { }, frame: false }) - //Menu.setApplicationMenu(null) + Menu.setApplicationMenu(null) win.loadFile('src/client/checkingUpdate.html') win.on("close", () => { app.quit()