remove requiring admin, this caused otd to not work
This commit is contained in:
parent
b9bd87c099
commit
3570582c6b
6
main.js
6
main.js
|
@ -361,7 +361,7 @@ function registerIPCPipes() {
|
||||||
mainWindow.webContents.send("ezpplauncher:alert", {
|
mainWindow.webContents.send("ezpplauncher:alert", {
|
||||||
type: "error",
|
type: "error",
|
||||||
message:
|
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) => {
|
uiDownloader.eventEmitter.on("data", (data) => {
|
||||||
|
@ -392,7 +392,7 @@ function registerIPCPipes() {
|
||||||
mainWindow.webContents.send("ezpplauncher:alert", {
|
mainWindow.webContents.send("ezpplauncher:alert", {
|
||||||
type: "error",
|
type: "error",
|
||||||
message:
|
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) => {
|
updateDownloader.eventEmitter.on("data", (data) => {
|
||||||
|
@ -439,7 +439,7 @@ function registerIPCPipes() {
|
||||||
mainWindow.webContents.send("ezpplauncher:alert", {
|
mainWindow.webContents.send("ezpplauncher:alert", {
|
||||||
type: "error",
|
type: "error",
|
||||||
message:
|
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) => {
|
patcherDownloader.eventEmitter.on("data", (data) => {
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
"electron/**/*"
|
"electron/**/*"
|
||||||
],
|
],
|
||||||
"win": {
|
"win": {
|
||||||
"requestedExecutionLevel": "requireAdministrator",
|
|
||||||
"target": [
|
"target": [
|
||||||
"portable"
|
"portable"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user