update updater
Took 6 minutes
This commit is contained in:
@ -303,7 +303,7 @@ router.ws('/', async (ws, req, next) => {
|
||||
WebSocketHandler.answerRequest(msg.data["type"] as RequestType, true);
|
||||
|
||||
try {
|
||||
let result = await exec(path.join(global.appRoot, "/update.sh"));
|
||||
let result = await exec(path.join(global.appRoot, "/../update.sh"));
|
||||
if (result.stderr)
|
||||
await WebSocketHandler.send(new WebSocketPayload(WebSocketEvent.ERROR, "Der iTender konnte das Update nicht installieren.<br>Möglicherweise ist die Internetverbindung nicht ausreichend oder das Update enthält Fehler.<br>"));
|
||||
} catch (e ) {
|
||||
|
Reference in New Issue
Block a user