From 3570582c6b5cdd5ee82bd13ee3f2e3f456f1d702 Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Mon, 22 Jan 2024 12:06:22 +0100 Subject: [PATCH] remove requiring admin, this caused otd to not work --- main.js | 6 +++--- package.json | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/main.js b/main.js index 044e71c..f396bba 100644 --- a/main.js +++ b/main.js @@ -361,7 +361,7 @@ function registerIPCPipes() { mainWindow.webContents.send("ezpplauncher:alert", { type: "error", message: - `Failed to download/replace ${filename}!\nMaybe try to rerun the Launcher as Admin.`, + `Failed to download/replace ${filename}!\nMaybe try to restart EZPPLauncher.`, }); }); uiDownloader.eventEmitter.on("data", (data) => { @@ -392,7 +392,7 @@ function registerIPCPipes() { mainWindow.webContents.send("ezpplauncher:alert", { type: "error", message: - `Failed to download/replace ${filename}!\nMaybe try to rerun the Launcher as Admin.`, + `Failed to download/replace ${filename}!\nMaybe try to restart EZPPLauncher.`, }); }); updateDownloader.eventEmitter.on("data", (data) => { @@ -439,7 +439,7 @@ function registerIPCPipes() { mainWindow.webContents.send("ezpplauncher:alert", { type: "error", message: - `Failed to download/replace ${filename}!\nMaybe try to rerun the Launcher as Admin.`, + `Failed to download/replace ${filename}!\nMaybe try to restart EZPPLauncher.`, }); }); patcherDownloader.eventEmitter.on("data", (data) => { diff --git a/package.json b/package.json index 9766c6c..0b00567 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,6 @@ "electron/**/*" ], "win": { - "requestedExecutionLevel": "requireAdministrator", "target": [ "portable" ]