Bagaimana cara memeriksa apakah kita menjalankan elektron atau browser
let isElectron = require("is-electron");
if(isElectron()){
console.log("Electron aww yeahhh !");
}else{
console.log("Running in other platform as a normal browser");
}
Weary Wombat