Skip to content

Commit 18c44db

Browse files
committed
update error
1 parent 271f6d6 commit 18c44db

File tree

2 files changed

+15
-36
lines changed

2 files changed

+15
-36
lines changed

package-lock.json

+14-36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/actions.ts

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export const startDebugging = (
8989
contents=process.mainModule.require('electron').webContents.getAllWebContents();
9090
for(let i=0;i<contents.length;i++){
9191
let cw=contents[i];
92+
if(cw.getURL().indexOf('chrome')!=0 && cw.getURL().indexOf('devtools')!=0)
9293
result.push({"id":cw.id,"url":cw.getURL(),"webPreferences":cw.getWebPreferences()})
9394
};
9495
JSON.stringify(result);

0 commit comments

Comments
 (0)