All Questions
432
questions
86
votes
13
answers
113k
views
How to deploy an Electron app as an executable or installable in Windows?
I want to generate a unique .exe file to execute the app or a .msi to install the application. How to do that?
54
votes
4
answers
66k
views
Frameless window with controls in electron (Windows)
I want my app to have no title bar but still be closeable, draggable, minimizable, maximizable, and resizable like a regular window. I can do this in OS X since there is a [titleBarStyle] 1 option ...
24
votes
6
answers
38k
views
set color of windows titlebar - electron.js
I would like to change the color of the titlebar for the windows version of my electron app. currently it is white, how do I change it to, for example, blue?
19
votes
2
answers
4k
views
Integrate an option to explorer context menu with Electron
I'm building an app which should be integrated through an option in the context menu of Windows explorer and Mac finder. I couldn't find a relevant option in Electron's documentation.
For example, ...
18
votes
1
answer
4k
views
Windows Defender slowing down Electron startup
Context
I have setup a trivial Electron app which shows a plain html file and it consistently takes more than two seconds to start up. The key performance measurements are:
170 ms: a blank window ...
17
votes
14
answers
14k
views
Install electron on node for windows hangs
I am following the quick installtion guide on electron :http://electron.atom.io/
Script:
Clone the Quick Start repository
git clone https://github.com/electron/electron-quick-start
Go into the ...
17
votes
2
answers
5k
views
License Generation for Electron-based apps [closed]
OK, so I'm experimenting a bit with Electron (formerly Atom Shell) and trying to see how this could work in a real app.
Now, given that the app is going to be commercial, I'll also have to think of ...
14
votes
3
answers
10k
views
electron and node on windows, kill a spawned process
i'm starting a background process (on windows) from electron main, something like this:
app_exe = require("child_process").spawn(
"app.exe" ,
[ "--params", ... ],
{ stdio: "ignore" }
);
this ...
13
votes
2
answers
20k
views
Electron: electron-builder config
Can somebody explain to me how electron-builder config work? I can't understand 95% of the things. Everything bellow API is somehow confusing. There are 0 examples of actually how something should be ...
13
votes
2
answers
2k
views
Node.js Electron Applications for Single Core Windows 7 machines are slow on file I/O
I'm running an electron application on a single core windows 7 machine. It seems whenever I do almost any file I/O with the fs library, the CPU spikes to ~100% for the electron process and it can take ...
12
votes
5
answers
22k
views
Check if electron app is launched with admin privileges on windows
Is there a way to check if an electron app is launched with the admin rights?
I only found electron-sudo lib to execute commands with admin privileges.
But I have multiple commands to execute and I ...
11
votes
2
answers
3k
views
Electron app.on('ready'... never being called and electron window never showing. Seemingly tied to specific Git repository
Summary
I'm new to Electron development, and helping to lead a small project at work creating an electron application. After working inside the Git repository for a day or so, the electron window ...
11
votes
1
answer
17k
views
Electron get or set Environment variables in Windows?
I know that from JavaScript it is not possible to get or set Windows Environment Variables. I have deployed a Electron app as a executable (as suggested here), is it possible now to get or modify a ...
11
votes
5
answers
2k
views
'Unknown stdin file type' error in windows
I've been struggling with this errors for 2 days and can't realize why electron renderer process.stdin fails in windows os.
How to reproduce:
type npm install devtool -g
then type devtool
inside ...
11
votes
5
answers
8k
views
Auto-updates to Electron
I'm looking to deploy an auto-update feature to an Electron installation that I have, however I am finding it difficult to find any resources on the web.
I've built a self contained application ...