remove require link-exists
This commit is contained in:
@@ -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();
|
||||
|
||||
Generated
+3
-3
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user