From 57ece16e14ec4594ce1c8fbaf28294e3bc5559ec Mon Sep 17 00:00:00 2001 From: vollstock Date: Mon, 3 Jun 2024 12:24:44 +0200 Subject: [PATCH] remove require link-exists --- main.js | 2 +- package-lock.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/main.js b/main.js index 8858c42..00e4b62 100644 --- a/main.js +++ b/main.js @@ -3,7 +3,6 @@ const path = require('node:path'); const fs = require('fs'); const os = require('os'); const log = require('electron-log/main'); -const { linkExists } = require('link-exists'); const isReachable = require('is-reachable'); const { setInterval } = require('node:timers/promises'); const configModule = require('./js/config.js'); @@ -240,6 +239,7 @@ async function loadUrlAsync(testurl) { // https://github.com/electron/electron/issues/17972 app.commandLine.appendSwitch('--no-sandbox'); +app.commandLine.appendSwitch('no-sandbox'); app.whenReady().then(() => { // configModule.load(); diff --git a/package-lock.json b/package-lock.json index ff0152d..6724913 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1335,9 +1335,9 @@ "optional": true }, "node_modules/@types/node": { - "version": "20.12.14", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.14.tgz", - "integrity": "sha512-scnD59RpYD91xngrQQLGkE+6UrHUPzeKZWhhjBSa3HSkwjbQc38+q3RoIVEwxQGRw3M+j5hpNAM+lgV3cVormg==", + "version": "20.14.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.0.tgz", + "integrity": "sha512-5cHBxFGJx6L4s56Bubp4fglrEpmyJypsqI6RgzMfBHWUJQGWAAi8cWcgetEbZXHYXo9C2Fa4EEds/uSyS4cxmA==", "dependencies": { "undici-types": "~5.26.4" }