Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- main.js:
- const DEBUG = require('electron-is-dev');
- exports.DEBUG = DEBUG;
- index.html:
- const remote = require("electron").remote;
- const main = remote.require("./main.js");
- const DEBUG = main.DEBUG;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement