Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. main.js:
  2. const DEBUG = require('electron-is-dev');
  3. exports.DEBUG = DEBUG;
  4.  
  5. index.html:
  6. const remote = require("electron").remote;
  7. const main = remote.require("./main.js");
  8. const DEBUG = main.DEBUG;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement