1,431 questions
0
votes
0
answers
87
views
Desktop application installer closing silently
I use electron to convert my python-flask web application into a Desktop application. As installer, I use NSIS electron builder with a custom nsis script for the customer details page.
The issue is ...
2
votes
0
answers
88
views
Electron Builder packaged app throws Cannot find module '.prisma/client/default' (Prisma + Electron + ASAR issue)
I am building a desktop application using:
Electron ^28.0.0
electron-builder ^24.9.0
Prisma ^5.8.0
Vue 3 + TypeScript
During development (electron .) everything works correctly.
However, after ...
2
votes
0
answers
85
views
Electron-Builder NSIS installer uses default Electron icon for desktop shortcut instead of my custom icon
I’m building an Electron-based IDE (https://github.com/Temple-Enterprise/Axiowisp) using electron-builder with the NSIS target on Windows.
I have a custom .ico file configured in my build settings:
&...
1
vote
2
answers
126
views
How to override package.json properties with Electron Builder
JSON files don’t allow comments. That makes it tricky to include alternatives.
I’m building an application using electron builder. I have a package.json file which for a full build includes:
"mac&...
Tooling
1
vote
5
replies
219
views
Large build size for Electron app using vite and electron-builder due to node_modules
I have an Electron app that I build using webpack + electron-forge. I consider to migrate to vite + electron-builder. The migration succeeded quite smoothly, and dev experience with vite is way better ...
0
votes
1
answer
540
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
1
answer
124
views
ElectronJS shell openPath cannot open file inside app.asar
Try to open a HTML file that resides inside the packaged app app.asar file. The file is there but Windows complains that cannot find the file. The pieces of the puzzle are:
inside the win-unpacked\...
0
votes
0
answers
107
views
electron-builder custom install path
I have the below build script:
"build": {
"appId": "com.yourcompany.gamelauncher",
"productName": "My Game",
"directories": {
...
1
vote
0
answers
63
views
Auto-update not installing after quit and reopen on macOS 13 Ventura (Electron)
Environment
Electron: 25.x (tested)
electron-builder / electron-updater: tested with electron-builder 23.x / electron-updater (versions may vary)
macOS: 13.x Ventura
Relevant code (main process/...
1
vote
0
answers
212
views
electron Process failed: rpmbuild failed (exit code 1)
I don't know why I have this error when trying to make dist from fedora with rpm and I have everything about rpm that says it is not there and nothing works, I will leave the package.json and the ...
3
votes
2
answers
826
views
electron-builder building issue "can't detect abi"
I was trying to use electron-builder to build my app, and I get an error.
It worked a month ago and I didn't change anything in the package.json file, but now it doesn't work. The app does work when I ...
0
votes
0
answers
42
views
Pass base URL to .exe installer when downloading it
I have my Azure pipeline generating a .exe installer file to be downloaded by user when clicking a download button in web application. The user will be able to install the electron application through ...
5
votes
1
answer
607
views
How to add custom app icon to my Electron app with Electron-Vite
I am having hard time setting up a custom app icon to my electron app running on Windows. And i've looked up different posts but none of them solves my question.
I am using Electron-Vite to create the ...
1
vote
0
answers
161
views
Electron with Webpack, React & TypeScript - __dirname is not defined in Renderer Process
I’m building an Electron app using the following stack: Webpack, TypeScript and React.
I manually build the app using:
npx webpack --config webpack.main.config.ts
npx webpack --config webpack.renderer....
0
votes
1
answer
160
views
Electron JS Print Receipt with electron-pos-printer cuts page too soon and doesn't print properly
I am building a POS system in Electron JS 35.0.1 and Angular 19. I have installed electron-pos-printer 1.3.6. The printer is triggered by a websocket notification from my backend. Currently the ...