master
Dave Conway-Jones 2020-10-09 10:01:41 +01:00
rodzic a57d640236
commit 4816ef4816
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 88BA2B8A411BE9FF
1 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -107,13 +107,19 @@ if (editable === true) {
else { store.clear(); }
flowfile = store.get('electronFlow',flowfile);
var myFlow;
try { myFlow = fs.readFileSync(flowfile) }
catch(e) { myFlow = []; }
if (urlStart == urlmap && myFlow.indexOf("worldmap") == -1) { urlStart = urledit; }
if (urlStart == urldash && myFlow.indexOf("ui-base") == -1) { urlStart = urledit; }
myFlow = null;
// console.log("CWD",process.cwd());
// console.log("DIR",__dirname);
// console.log("UserDir :",userdir);
console.log("FlowFile :",flowfile);
// console.log("PORT",listenPort);
console.log("Store",app.getPath('userData'))
console.log("FlowFile :",flowfile);
// Keep a global reference of the window objects, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.