remove require link-exists

This commit is contained in:
2024-06-03 12:24:44 +02:00
parent 0a7f5407d8
commit 57ece16e14
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,6 @@ const path = require('node:path');
const fs = require('fs'); const fs = require('fs');
const os = require('os'); const os = require('os');
const log = require('electron-log/main'); const log = require('electron-log/main');
const { linkExists } = require('link-exists');
const isReachable = require('is-reachable'); const isReachable = require('is-reachable');
const { setInterval } = require('node:timers/promises'); const { setInterval } = require('node:timers/promises');
const configModule = require('./js/config.js'); const configModule = require('./js/config.js');
@@ -240,6 +239,7 @@ async function loadUrlAsync(testurl) {
// https://github.com/electron/electron/issues/17972 // https://github.com/electron/electron/issues/17972
app.commandLine.appendSwitch('--no-sandbox'); app.commandLine.appendSwitch('--no-sandbox');
app.commandLine.appendSwitch('no-sandbox');
app.whenReady().then(() => { app.whenReady().then(() => {
// configModule.load(); // configModule.load();
+3 -3
View File
@@ -1335,9 +1335,9 @@
"optional": true "optional": true
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "20.12.14", "version": "20.14.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.14.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.0.tgz",
"integrity": "sha512-scnD59RpYD91xngrQQLGkE+6UrHUPzeKZWhhjBSa3HSkwjbQc38+q3RoIVEwxQGRw3M+j5hpNAM+lgV3cVormg==", "integrity": "sha512-5cHBxFGJx6L4s56Bubp4fglrEpmyJypsqI6RgzMfBHWUJQGWAAi8cWcgetEbZXHYXo9C2Fa4EEds/uSyS4cxmA==",
"dependencies": { "dependencies": {
"undici-types": "~5.26.4" "undici-types": "~5.26.4"
} }