Kaydet (Commit) 975f65d1 authored tarafından Eda Altuntaş's avatar Eda Altuntaş

Bug Fix

üst d0d33ca3
...@@ -6,9 +6,7 @@ const { basename, join, posix } = require("path"); ...@@ -6,9 +6,7 @@ const { basename, join, posix } = require("path");
const handler = win => { const handler = win => {
console.log(existsSync); console.log(existsSync);
let file = process.argv.slice(process.argv.indexOf(process.execPath) + 1); let file = process.argv.slice(process.argv.indexOf(process.execPath) + 1);
if (file[0].indexOf("dist_electron") !== -1) { file = file.filter(f => existsSync(f));
file = file.slice(1);
}
if (file.length === 0) { if (file.length === 0) {
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment