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...
So I have this Electron app and in one of the .html-files I link another script that provides some utility-functions to the program and one of those is this one:  function openPDF(filePath){     let pdfWindow = new electron.remote.BrowserWindow({...
So, I've followed a number of guides to set up Webpack, Electron, and React to make a desktop application. After finishing the setup, I got to work, and learned that I needed to require an IPC mechanism from the main and renderer in order to comm...
I don't have a handle on when to use require('jslib') versus <script src=""></script> in Electron content pages (e.g. index.html). With jQuery, I discovered that it needs to be loaded as follows:  <script>window....
When I study electron, I found 2 ways of getting BrowserWindow object.  const {BrowserWindow} = require('electron')   and  const electron = require('electron') const BrowserWindow = electron.BrowserWindow   What is the difference betw...
i'm trying to convert my web into an app made in ElectronJS  in my web i print a div with a barcode. this works pretty fine, but in electronjs i can't reach this.  originally i'd use this function  $scope.printDiv = function (divName) {...
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 am having a hard time googling how I would do multi-threading if I made an electron app. Would it be with web workers?...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.