Questions tagged [electron-packager]

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

References

493 questions
3
votes
1 answer

How to debug Electron main process after packaging?

I have created an Electron App(say MyApp). I have used electron-packager to pack the App. I installed the app in my local machine and I can see MyApp in the start menu. When I click on the Icon It launches the app but I am not able to debug it. I…
Praveer Kumar
  • 912
  • 1
  • 12
  • 25
3
votes
1 answer

Unable to build .exe for Electron

I am trying to create .exe for my react web app for Windows using electron-installer-windows. It says that Error: No Description or ProductDescription provided. Please set either a description in the app's package.json or provide it in the…
Zain Ul Abideen
  • 1,617
  • 1
  • 11
  • 25
3
votes
1 answer

Packaging app for platform win32 x64 taking too long using electron v5.0.6

I developped a web app with angular i need to package my web app using electron , it all seems fine until i run electron-packager , it takes forever , i dont know if it is supposed to be this slow or is there something wrong ? ps : im on windows…
3
votes
2 answers

How to set custom executable icon using electron-packager?

I have successfully built an Electron app. Now I'm trying to change the icon of the .exe that is generated by electron-packager. However, the .exe gets the default Electron icon, not my own icon (see screenshot). The command I run: npm run…
karansys
  • 2,449
  • 7
  • 40
  • 78
3
votes
1 answer

TypeError: app.makeSingleInstance is not a function

Upgrading from Electron v2.0.3 to the latest relase v5.0.1 When I try running electron, I get the following error: TypeError: app.makeSingleInstance is not a function I believe this is because the api has changed. I cannot find what the equivalent…
Kode_12
  • 4,506
  • 11
  • 47
  • 97
3
votes
2 answers

Execute an exe(Inside Project structure) in Electron

While in developing mode, executing the exe is working well. My code to launch the exe is function LaunchExe() { var child = require('child_process').execFile; var executablePath = 'DemoExe/Sample.exe'; var parameters =…
Nandha
  • 375
  • 3
  • 23
3
votes
0 answers

Electron: How to delete ~/.config/electron-app folder on uninstall time?

I have developed a small electron app and stored some cache files inside my ~/.config/electron-app. Now I need to remove the ~/.config/electron-app if the app is getting uninstalled. Is there any electron app uninstall event is available? Many…
Gokulakannan T
  • 586
  • 4
  • 14
3
votes
2 answers

Build executable for windows with Vue CLI Plugin Electron Builder in linux

I'm trying to build an executable file for windows from my linux but so far I have not been able to do it. According to the documentation, it tells me that here I could configure, for example, the output folder. pluginOptions: { electronBuilder:…
3
votes
0 answers

Please install sqlite3 package manually after electron-packager on linux for windows

I am trying to package my app with electron-packager. My app have as dependencies sqlite3 and sequelize. here is my package.json file : { "name": "electronjs_base", "version": "1.0.0", "description": "Projet de base Electron JS", "main":…
Buisson
  • 479
  • 1
  • 6
  • 23
3
votes
0 answers

Electron desktop app Icon is not displaying?

I am creating an electron app in windows. Everything is working fine but when I run the setup, the desktop shortcut icon is electron's icon. This is my package.json file: { "name": "happiness", "version": "1.0.0", "icon": "logomain.ico", …
Dungeon
  • 972
  • 2
  • 16
  • 32
3
votes
0 answers

Electron ignores loadURL() calls if opened with elevated privileges (uiAccess=true) by a non-Admin user

We have an EXE-packaged Electron application that needs to run under Windows with elevated privileges (uiAccess=true) to prevent user from accessing Windows when it runs in full screen. Setting uiAccess="true" in the manifest file causes a problem:…
David Avsajanishvili
  • 7,678
  • 2
  • 22
  • 24
3
votes
0 answers

How to disable the download option from electron-pdf-window

I'm building a django electronjs app with PDF viewer using the following js script and it's working fine, but my concern is if I can disable or remove the download option from the PDF viewer. If yes, then how can I do that? const { app } =…
Ravindra Gupta
  • 1,256
  • 12
  • 42
3
votes
1 answer

Electron auto launch packaged application starts welcome window

I am working on an electron test application for windows. The goal is an auto launching application which displays a popup message everytime the windows user logs in. Scenario: I'm executing npm start to package my code. (index.js + package.json) I…
user3119231
3
votes
0 answers

Electron windows installer is not creating the shortcut on desktop

Tried many time and many solution but all give me the same problem. Everything works just fine, the app works and no issues with it, it's just the shourtcut that is not being created on Desktop. I can see from the log files…
itismelito
  • 245
  • 3
  • 11
3
votes
2 answers

electron-packager with sqlite3 and webpack

I'm making a small application that gets/stores data using sqlite3. Everything was fine during development stage. But when I used electron-packager to pack my application, sqlite3 doesn't work anymore. The console display an exception which is :…
Redplane
  • 2,971
  • 4
  • 30
  • 59