Questions tagged [electron-packager]

Use electron-packager for questions related to the packaging module for Electron apps

References

493 questions
2
votes
1 answer

Electron App Installation with Squirrel to ProgramFiles(x86)

Does Squirrel support an Electron app installation to ProgramFiles(x86) ? If yes, could you please explain me how it is done with an Electron app ? I could not find anything about it. I have done the installation to %localappdata% yet. But it is…
Coder949
  • 987
  • 1
  • 8
  • 29
2
votes
0 answers

Path to static files after packaging

Hello guys i have a question about this https://github.com/electron-userland/electron-packager electron packager, as i am understood correctly everything what i've made compiled to the asar archive, and the second thing in my case packager took the…
2
votes
2 answers

Electron: __ was compiled against a different version of Node.js

When trying to package electron app on macOS Sierra using electron-installer-dmg, I get the following: Error: The module '/Users/august/projects/node_modules/macos-alias/build/Release/volume.node' was compiled against a different Node.js version…
August
  • 1,722
  • 5
  • 20
  • 37
2
votes
2 answers

Can you create an MSI with electron-packager?

I've just built an app with Electron. Installing and running electron-packager . creates a folder my-app-win32-x64 with a bunch of assets and DLLs. This isn't exactly something I can distribute to consumers. What's the simplest way to generate a…
user888734
  • 3,797
  • 5
  • 36
  • 67
2
votes
0 answers

How to enable notification in electron app packaged for windows

I am making an electron desktop app for windows. I have used node-notifier and in-built electron notification. These notifications are fired when I run the app in development. But when I package the app and install it on a windows computer, the…
suku
  • 10,507
  • 16
  • 75
  • 120
2
votes
1 answer

electron-packager and gloabl electron module

I have installed electron and electron-packager, all of them in global mode. When I build my app electron-packager searchs the local electron module. How forcing electron-packager to use the global electron module that I have installed?
asv
  • 3,332
  • 7
  • 24
  • 47
2
votes
1 answer

Package Electron for os x

How can I test my program which runs on windows also on osx This is now the start code for Windows "package:electron": "electron-packager electron \"CICone NT\" --platform=win32 --arch=all --out=electron-package --overwrite" With which code I can…
Jamez Fatout
  • 402
  • 4
  • 13
1
vote
1 answer

Unable to load assets when packaging electron-angular application using Electron packager

I am trying to package my electron angular project using Electron packager. The packager packages the application without errors, but when laucnhing the application with the .exe file none of the assets loads correctly. In developement mode the…
Franco
  • 441
  • 3
  • 18
1
vote
0 answers

Electron Application Crashing on Startup for Certain Users, Unable to Reproduce

We have an application developed using Electron. Recently, we received reports from several users that the application crashes immediately upon startup. However, we're having trouble reproducing this issue on our end. We've tested the application on…
1
vote
0 answers

Electron is building empty app after context isolation set to false

I'm facing a weird problem. I need to set context isolation to false to parse big excel files because with IPC it takes 2x more ram than it should to. I noticed that when I use built in modules into node like fs for example, app builds just fine,…
Kazeyoshi
  • 49
  • 7
1
vote
0 answers

electron-builder app is failiing after build

I am looking for someone who can help me regarding electron-builder issue. I created an app using Node (18v), npm, Typescript, Sequelize, sequelize-typescript, Sqlite3, React, And design and other dependencies. When I built the app, everything went…
1
vote
0 answers

How can I implement Microsoft Azure (MFA) login authentication in an Electron application developed in React.js?

We have a React.js application that is running in Electron for desktop use. We have implemented Microsoft Azure AD for login authentication, which works fine in our React.js app. However, we are facing issues when trying to use it in our Electron…
1
vote
1 answer

Weird syntaxError after electron app packaging : Unexpected token (

I am currently trying to package my electron app for the first time, and I am encountering a weird bug. When launching the app.exe, this error message appears : Uncaught Exception: C:\ .... \build\main.js:39 electron_1.app.on("ready", async () =>…
dododingo
  • 79
  • 7
1
vote
0 answers

Creating Electron JS health check endpoint or handling http request inside electron application

I want to check the health of the electron application. Is there any possible way to handling http server side request inside electron JS application other than using node module like express? i don’t want to use node modules like express inside…
1
vote
1 answer

Can't bundle a python code in my electron app

I'm new to electron, so I would like to be able to create an installer for my electron software but when I do a make or package with electron-forge, my python program doesn't start. This is due to the fact that I have not packaged the python program…