Questions tagged [electron]
Electron (formerly Atom Shell) is a framework created by GitHub that lets you write cross-platform desktop applications using HTML, CSS and JavaScript. Electron is based upon Node.js and Chromium.
electron
15,506
questions
41
votes
9
answers
95k
views
How to include Chrome DevTools in Electron?
I'm still new to Electron which I'm currently following here.
I've read this page regarding on how to include the Chrome DevTools so that I can debug my application easily. I've followed the ...
7
votes
3
answers
4k
views
Can I use CoffeeScript to write my Electron (Atom Shell) application?
Does anything special have to be done to get Electron to run my main.coffee file? I have a main.js file (that works) that I converted to CoffeeScript (hence main.coffee), but when I run Electron main....
0
votes
1
answer
635
views
using flux architecture pattern with server-client application
I'm trying to build a Desktop app using Github's Electron Framework, which separates a "main" io.js process from a "render" JS process (BrowserWindow). I think of the "main"/"renderer" processes as ...
5
votes
1
answer
3k
views
Electron & ReactJS, Use BrowserWindow for GitHub oAuth authentication
I have set up github's Electron with ReactJs. So I got a BrowserWindow and a react app playing nicely in that window. What I'm trying to achieve is to get authenticated with GitHub. So when a user ...
4
votes
3
answers
3k
views
Electron - jQuery Errors
I'm working on an Electron project, and when attempting to include jQuery, I get this error:
C:\Users\Matthew\Documents\Electron\ElectronProjects\Iris\js\jquery.min.js:4 Uncaught SyntaxError:
C:\...
2
votes
1
answer
972
views
System.import async module loading conflicts with scripts tags sync loading
I started using JSPM with atom/electron for porting a web site I've built using Marionette.
I have all my App written around Marionette modules so I want to load all the JavasSript files before ...
1
vote
0
answers
223
views
Using the browser context APIs without creating a BrowserWindow in electron
I'm wondering if there is a way to access the browser context APIs in electron without creating a BrowserWindow. Is this feasible somehow?
3
votes
0
answers
2k
views
Socket.IO - Message sent from client is failing on server and client
I am working on a realtime data communication platform that uses Socket.IO to connect from server to client. The server is running Node.JS, and the client is a desktop application in the form of a ...
11
votes
2
answers
9k
views
How to protect source code in electron project
I build my first electron app but now I wonder how to protect the source code to be view by other developers.
The official doc says :
To protect your app's resources and source code from the users,...
1
vote
3
answers
2k
views
Loading web-page with moment in electron
I am trying to load a web-page in an electron application, it is my first try to use electron so I am not familiar with it at all. The app is really simple:
var app = require('app');
var ...
33
votes
4
answers
34k
views
Showing window after it is fully loaded
When I create basic application and initialize it using electron command, it shows me a blank window and a moment later loads the content.
Which event and which object should be used to show the ...
16
votes
4
answers
9k
views
Unable to find electron-prebuilt's version number. - When trying to use electron-rebuild
I am trying to use bluetooth-serial-port native module in electron (atom-shell). I did the following.
Installed electron-prebuilt.
npm install electron-prebuilt -g
npm install electron-prebuilt --...
11
votes
1
answer
10k
views
Passing information between js and html parts in electron (atom-shell)
According to the tutorial, there are two parts of an electron app - the entry main.js file and index.html.
Do I have to include main.js as a script in the html file
How do I trigger events in the ...
6
votes
1
answer
6k
views
Handle Squirrel's event on an Electron app
These days I'm toyng around with Electron to build a small native app for Windows and I'm using Grunt Electron Installer to create an installer for my application.
The installer is created ...
11
votes
3
answers
14k
views
Cross Domain Ajax Call in Atom Shell
We are working with Atom Shell (Currently known as electron) to wrap a web application as desktop app and having trouble making cross domain ajax calls due to CORS restriction.
We also tried nw.js (...