15,337 questions
- Bountied 1
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
43
views
Getting Deprecation Warning with Electron Builder
I am packaging my Electron application with Electron Builder. The command is:
npx electron-builder build
The build works well enough, but I get the following warning:
(node:27191) [DEP0190] ...
2
votes
0
answers
43
views
I would like to do print a JPG file from my Electron JS App, but it ended with it just print it in a half
I just make a simple photobox electron app. The printable photo is already set in the sessionPath with name "photo_print.jpg". The problem here is the print function is error, the result is ...
1
vote
1
answer
41
views
Registering a protocol handler in Electron
As far as I’m aware, the old way of registering protocols has been deprecated.
In my code I have the following for an internal protocol:
// Before:
protocol.registerStringProtocol(
'doit',...
1
vote
0
answers
29
views
Is it possible to speed up checking a second instance of an Electron Application
From the answer to a question I asked (Electron: Drag and Drop a file on the icon) I have the following code to process files dropped on an icon for a running Electron app:
// main.js
const {app, ...
-4
votes
0
answers
64
views
Problems with input fields and logout after printing in Electron app [closed]
I converted my HTML Sales Manager web application into a desktop application using Electron.
After converting the app, I started facing two problems:
1. Input field problem after minimizing the app
...
1
vote
0
answers
42
views
Disable Windows code signing with Electron Builder
I’m using Electron Builder to package my application. I’m doing this on a Macintosh because I can, and that’s my development environment.
The command is:
npx electron-builder build --win --x64;
It ...
-5
votes
0
answers
87
views
Electron + Local Server Run MERN [closed]
My Electron + Express + React app works in dev but server doesn't start in production build. How to embed Node.js server in Electron executable? I have attached my main electron.js and package.json ...
0
votes
1
answer
59
views
Electron crash due to libusb conflict between yoctolib-cjs and other USB libraries
I am developing a Windows Electron application and I suspect a USB / libusb conflict between the usb library and Yoctopuce’s JavaScript API (yoctolib-cjs/yocto_api).
When both are used in the same ...
-3
votes
1
answer
79
views
When is the renderer process in Electron application actually ready to listen for the events?
According to my intentions, the application must display the loading screen until FileManager class will finish the initialization. Once this initialization done, the broswerWindow must to submit the &...
Advice
0
votes
1
replies
41
views
What is the Build folder and what is its context in Electron-vite?
I am working on a project using electron-vite and using the @quick-start command for scaffolding the project.
When I used this template, it came with a folder called "Build". I tried to ...
0
votes
0
answers
58
views
Getting feedback from the main process in an Electron app
My Electron app starts with a script called main.js. In amongst various setting up processes:
I create a BrowserWindow called window.
window loads a page called index.html.
index.html includes ...
0
votes
1
answer
53
views
How can I import React components in an Electron app?
I am trying to import a React component Menu.jsx from App.jsx in my Electron app. No errors are showing up, but nothing is being rendered and are not added to the DOM (the body is empty when I looked ...
0
votes
1
answer
61
views
How to open files from the user's local device in serverside Blazor using ElectronNET?
I created a serverside Blazor App and "electronized" it by following the instructions in the read me on the electronNET/electron.NET github page. One of the requirements for this app is to ...
Tooling
0
votes
2
replies
32
views
Prevent Certain DOM Elements from being Screen Recorded in Electron
I have a React web app that I am running inside an Electron app. I am doing this so that I can screen record like so:
window.electronAPI.startRecording();
However, some of the content on the screen ...
0
votes
1
answer
36
views
Firefox SSO login shows file picker dialog instead of opening browser on Ubuntu 22.04/24.04
I'm developing a Linux application that opens SSO authentication URLs in the default browser.
On Ubuntu 22.04 and 24.04, when Firefox is the default browser, clicking the SSO link shows a file picker ...