Skip to content

Commit

Permalink
Debug info for CLI not working in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohamedin committed Dec 31, 2023
1 parent cfb144b commit c2973ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ app.on('ready', e =>
{
if (!details.url.startsWith(codeUrl) && (!isPluginsEnabled() || (isPluginsEnabled() && !details.url.startsWith(pluginsCodeUrl))))
{
console.log('Blocked loading file from ' + details.url, codeUrl, pluginsCodeUrl);
callback({cancel: true});
}
else
Expand Down

1 comment on commit c2973ce

@davidjgraph
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed. Debugging to assist with CLI problems.

Please sign in to comment.