467 questions
0
votes
1
answer
58
views
How to properly include SQLite3 with an Electron, Electron Forge, Sequelizer set-up in production?
I've been trying to set-up a working Electron application using Electron Forge with Sqlite3 and Sequelize. This has worked great up until where I need to actually build and package, and distribute the ...
1
vote
2
answers
68
views
How to disable Electron.js panel window movable area click event on macOS?
In Electron.js, a panel type Browser window has an approximately 28-pixel top area that acts as a moveable area. Clicking in this area focuses the application, bringing the app menu to the top taskbar,...
0
votes
0
answers
31
views
Can the electron-forge packaging entry point be configured dinamically?
We are building an Electron application, and we are using Electron Forge to do the build. But we have the requirement of having different builds with different capabilities, although a lot of the ...
1
vote
2
answers
627
views
How can I use native Node modules in my packaged Electron application?
I know this question have been asked quite frequently all over the web, but I can't find any answer that resolved my issue, so I'll try to ask with my own specifications.
I am building a desktop ...
1
vote
0
answers
34
views
Is there a way to get normal output from electron-forge commands?
We have recently added some Electron apps into our application suite, and these are being packaged up with the command electron-forge package.
Unfortunately, it looks like that command is doing all ...
1
vote
1
answer
408
views
Cannot find module 'better-sqlite3' after building Electron Forge Vite app (on Linux)
I'm trying to develop an Electron Forge Vite app that uses better-sqlite3 as database. It works fine in development environment but after I build a .deb package to test it outside development (I'm on ...
4
votes
1
answer
279
views
Error packaging electron app that uses local files
I created an App using electron that interacts with local files using IPC. When i run it using npm start, éverything works as excpected, but when i try to package the app into an .exe file using the ...
0
votes
1
answer
49
views
How do I import js files in a worker_thread when using Webpack and Electron Forge?
Electron Forge and Webpack cannot do worker_threads if the worker imports something.
We'd want to do this to do heavy computation without blocking the main thread, allowing the UI to remain responsive....
2
votes
1
answer
72
views
An unhandled rejection has occurred inside Forge: HttpError: Not Found when publish electron-forge
when i tried to publish my electron-forge vite
this is my forge.config.js
const { FusesPlugin } = require('@electron-forge/plugin-fuses');
const { FuseV1Options, FuseVersion } = require('@electron/...
0
votes
0
answers
32
views
File path ignoring variable value during resolution with webpack
I have a switch statement that selects a file. Webpack always sets the file to the wrong file on Linux.
The code below is the code that sets the file.path
let libDir = ''
let libName = ''
switch (...
0
votes
1
answer
72
views
What is this other TeamID? mapping process and mapped file (non-platform) have different Team IDs
I am using VS Code, not Xcode. I am getting this signing error from sqlite3:
(code signature in
'/private/var/folders/rb/p1qyx7yn6tb043v2hk3wcgyh0000gp/T/.com.electron.artfolio.gDBTGz'
not valid for ...
5
votes
2
answers
6k
views
Electron - React app __dirname is not defined
I have an electron app that I'm packaging with vite using the forge template. I'm having trouble pulling in the ipcRenderer into the React files as it crashes the app with this error:
Uncaught ...
1
vote
0
answers
56
views
I am using Electron Forge, how do I define which languages are displayed in the Mac App Store?
As shown in the picture, I would like to change the language displayed here.
I haven't set it before, but it displays many languages, and our application actually only supports some of them.
I tried ...
6
votes
1
answer
801
views
Code Signing in ElectronJS on Mac with Electron Forge: Can't get it to sign correctly
I am having the darnedest time trying to sign and notarize my code on Mac. Here is my forge.config.js section:
osxSign: {
identity: settings.osx.identity,
'hardened-runtime': true,
...
2
votes
1
answer
2k
views
Electron Forge + ESM
I've been trying to make a project created via Electron Forge to work with ESM.
At this point, ESM is mostly a must, since required libraries are exporting only to ESM and using older libraries is not ...