467 questions
6
votes
1
answer
4k
views
Electron Forge stuck on squirrel
I've been trying to package an electron app but it never goes past this stage:
I've tried 3 times and every time it takes hours but doesn't finish packaging for squirrel.
package.json:
{
"name&...
3
votes
1
answer
356
views
Azure Key Vaults for Code Signing on macOS
I am going to buy a new OV certificate for code signing an Electron application developed by the company I am working for. Since new industry standards, we will need to store it in an HSM, more ...
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 ...
0
votes
1
answer
782
views
Issue with Electron Forge Squirrel Installer - App Opens with Loading GIF, Closes, and Reopens
I've created an Electron app and used the npm run make command, which runs electron-forge make. Everything works fine, but when running the generated installer "Setup.exe" by @electron-forge/...
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
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
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 ...
2
votes
3
answers
3k
views
how can I use node-canvas in electronjs-17 on windows?
I've installed all essentials for my windows to build application with electronjs.
versions:
node -v v17.5.0
npm -v 8.4.1
> My dependencies
"dependencies": {
"electron-...
8
votes
2
answers
4k
views
How can I hot reload without being redirected to root with electron-forge and react?
I'm having a problem with electron-forge.
I have created a new project with npx create-electron-app and I have installed and setup react, and it's all working just fine.
The problem I have is with the ...
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
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....
1
vote
3
answers
365
views
"electron-forge make" outputting .deb and .rpm but not .exe
I'm using WSL2 and am successfully running
npm run make
on
...
"scripts": {
...,
"make": "electron-forge make"
},
...
but when creating distributables, it ...
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 (...
1
vote
1
answer
409
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 ...