From 4e33eb5a7c5d83b26078c14c0c5a389cba5277bf Mon Sep 17 00:00:00 2001 From: tobspr Date: Sat, 15 Jan 2022 12:37:22 +0100 Subject: [PATCH] Update confirm dialgo --- electron/index.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/electron/index.js b/electron/index.js index 1b8b4b5e..3c567893 100644 --- a/electron/index.js +++ b/electron/index.js @@ -351,21 +351,10 @@ ipcMain.handle("get-mods", async () => { buttons: ["Exit Game", "Continue"], type: "warning", defaultId: 0, - - checkboxLabel: - "I understand that mods have access to my file system and can be potentially harmful", - checkboxChecked: false, cancelId: 0, }); if (response.response === 1) { - if (response.checkboxChecked) { - break; - } else { - await dialog.showMessageBox(win, { - message: - "Please confirm that you have understood the risks by checking the checkbox in the next dialog.", - }); - } + break; } if (response.response === 0) { process.exit(0);