show error when node data is invalid

This commit is contained in:
codetypes committed 2024-04-18 00:37:40 +08:00
1 parent 0e6aff2855
commit 7ceaf45971
9 files changed
+68 -20

No files matched your search

-3
View File
@@ -32,9 +32,6 @@ if (!app.requestSingleInstanceLock()) {
process.exit(0);
}
app.commandLine.appendArgument("–-allow-file-access-from-files");
app.commandLine.appendArgument("--disable-web-security");
// Remove electron security warnings
// This warning only shows in development mode
// Read more on https://www.electronjs.org/docs/latest/tutorial/security