Skip to main content

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
92 votes
5 answers
100k views

Electron Take Up 100% Of Screen (Not Full Screen)

I've got an electron app, below is the main.js file: var app = require('electron').app; var BrowserWindow = require('electron').BrowserWindow; app.on('ready', function() { mainWindow = new ...
0 votes
0 answers
33 views

node native c++ code in electron unexpected character

This is my folder structure: └── my-electron-project/ ├── lib/ │ └── addon/ │ ├── build/ │ │ └── Release/ │ │ └── addon.node │ ├── addon.cc │ ├── binding.gyp │ ...
2 votes
2 answers
3k views

How to set a custom path for Electron app installer

Is there a way to ask custom installation path to the user during electron app installation?
4 votes
0 answers
2k views

Electron fixed position to the right side of the screen

I'm currently trying to implement the toolbar which is fixed to the right side of the screen. Initial state works fine. When I try to dynamically change the content width from the app, BrowserWindow ...
0 votes
0 answers
13 views

pathMapping in vs code debug is not working

I have the following as my launch.json file { "version": "0.2.0", "configurations": [ { "name":"Launch vite:dev", "request&...
3 votes
1 answer
3k views

Playwright upload file on non-input element

So I'm currently trying to automate uploading a profile photo on an Electron App using Playwright and I'm running into issues with 'filechooser' event. await windowA.click('data-testid'); const [...
0 votes
0 answers
69 views

net::ERR_CONNECTION_RESET when trying to fetch/getting data from localhost http server

I got a http server in C++ running on my localhost to get some data transfered to my electron react frontend. Unfortunately I run into heavy issues and I tried googling all day & night. It uses ...
0 votes
0 answers
23 views

Backend Port Remains Open When Electron App Exits

I'm doing an electron app, but every time I close or quit the app it leaves a pid hanging from the port that the backend opens. How could I kill all the process when I close the app? This is the ...
-1 votes
0 answers
16 views

self hosted SSL for electron app front-back communication

For and Electron JS app, with python backend flask server, openssl self hosted certificates have been suggested for secure https connection between he frontend and backend. I wanted to ask if this is ...
-1 votes
0 answers
18 views

How to Package and Distribute an Electron App for Use on Another Computer? [closed]

i'm very new to development (i started learning 4 months ago) and i took the challenge to make a simple desktop app using VSCode and electron for my internship's supervisor, it basically helps him to ...
-4 votes
0 answers
48 views

Bug in finding image in electron with sqlite [closed]

So, my problem is that my app can't find my image, and on my sqlite database there's just a txt file that says undefined: This function goes immidietely after entering the app ipcMain.on('load-...
0 votes
0 answers
18 views

Desktop application with file manipulation [closed]

So I want to create a desktop app that is run locally. It doesn't need to use internet. But it does need to read, write and create some excel files. Now I wrote the app in react. And I did some ...
0 votes
2 answers
56 views

How do I gray elements based on class name?

I'm trying to grey the border elements smoothly with css smoothing and it does nothing and the elements are 1 pixel thick code: function greyBorder() { var elms ...
1 vote
0 answers
14 views

Executable/installable files with electron FE and python BE

I have a problem with my current project. I have a backend written in python which i complain with pyinstaller to an exe. The py BE communicate with websockets with the FE written in JS/hmtl/css. I ...
0 votes
0 answers
11 views

Icons of Element UI do not appear

I'm using Element UI with an Electron - Vue 2.6 - Vite - SCSS app, and the icons (like ) do not appear. All the other Element UI components work just fine. I have followed the instructions on https://...

15 30 50 per page