I am using Electron to make a desktop app. In my app I am loading a an external site (outside Atom app) lets say http://mydummysite/index.html page.  Here is the structure of my app in Atom Editor:    i.e it is having following parts:   main.js   pac...
I'm trying to use node printer from an Electron application, but as soon I add the lines to use the printer, the app crashes.  The console outputs this:  [1]    9860 segmentation fault (core dumped)  node_modules/electron-prebuilt/dist/electron....
I'm just getting started with Electron, with prior experience with node-webkit (nw.js).  In nw.js, I was able to create iframes and then access the DOM of said iframe in order to grab things like the title, favicon, &c. When I picked up Elect...
I'm having a hard time figuring out how to approach file uploads in atom electron. I would post code but I don't even know where to begin with this one.   In a standard web app I would post from the client to the server, either via a standard...
I have an electron application which is using node.js. I would like to use Winston for logging in the application. I've added winston to my package.json file, but when I run the build command for webpack I'm getting some warnings from the col...
I need to build an app where the user can open PDF files within the app -- i.e. not by opening a new browser window.  I would need to implement a back button and possibly some overlays over the PDF.  Does anyone know if there's a good way to do t...
In Electron, I have my main process opening a BrowserWindow. The BrowserWindow loads one html page and then the same window eventually loads another html page.  main.js  var mainWindow; global.mainState = {   settings: {} } mainWindow = createWindow(...
I want a menu, defined in the main process to call JS code inside the current browser window in an atom/electron application.  Getting main process globals form the browser window is  const remote = require('remote') const foo    = remote.get...
I have some data in the localstorage that has to be deleted on app.quit(). But I see no way to do so from the main process.   Is there a way to call a renderer function from main?  I know about var remote = require('remote'); but it seems to...
We are using Firebase Realtime Database in our Electron application. Executing "set" or "update" the first time after authentication works flawlessly. However, after waiting some time (idle > one minute), executing a update or set...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.