Questions tagged [electron-builder]

Electron Builder is an open source solution for distribution and auto-update of Electron NPM apps. Use this tag on questions about a) using Electron Builder to distribute or update an Electron app, or b) working with the Electron Builder project source.

Electron Builder is an project that provides distribution and auto-update for Electron-based apps.

Electron Builder provides these services:

  • Management of NPM packages:
    • Native application dependencies compilation
    • Development dependencies are never excluded
  • Management of build versions
  • Code Signing (CI server, development machine)
  • Auto Update support
  • Multiple target platforms and distribution formats:
    • All platforms: 7z, zip, tar.gz, tar.xz, tar.lz, tar.bz2
    • MacOS: dmg, mas
    • Linux: AppImage, deb, rpm, apk, freebsd, pacman, p5p
    • Windows: NSIS, Squirrel.Windows
  • GitHub Releases integration for artifacts

and are used under the hood.

Resources:

1393 questions
0
votes
1 answer

Error while Packaging and Distributing Electron Desktop Apps in Windows

I have created a sample Electron App and i need to create a .exe file from it. I managed to build the app without errors but when i start the app an error appears.I cant figure out why im getting this.How to resolve this?. The Error im getting My…
TRomesh
  • 4,323
  • 8
  • 44
  • 74
0
votes
2 answers

What am I missing in my OS X Squirrel configuration?

I'm deploying an Electron app with Squirrel on the backend to do updates. The Windows deployment works just fine, updating from a .nupkg at this sample path: https://host/update/win32/1.0.1/RELEASES However, the Mac version (which I'm supplying a…
Brian Knoblauch
  • 20,639
  • 15
  • 57
  • 92
0
votes
1 answer

electron-builder failing to generate .nupkg

I went to do a fresh update server deployment of an application (via -full.nupkg) the other day and was surprised to see that the file does not exist in my dist folder. I've run through and rebuilt on Windows, but I'm only getting the .exe and…
Brian Knoblauch
  • 20,639
  • 15
  • 57
  • 92
0
votes
1 answer

After building app using electron-packager the javascript can't find images

The app works fine when I run it via $npm start. After I have built the app using electron-packager the javascript within the built app can't find assets in the images directory. Example: I define the app icon in my main.js var mb = menubar({width:…
Andy
  • 127
  • 3
  • 9
0
votes
1 answer

How to install 3rd party applications using Electron as a background process

How can I automate the process of installing a 3rd party software installation along with my electron app installation. Is that possible? Usage scenario. I want to make an application which deals with github repositories, now I want my users to…
niksmac
  • 2,667
  • 3
  • 34
  • 50
0
votes
1 answer

When packaging up my Angular 2 Electron App, routes no longer work

When I run my Angular 2 Electron project with ng build or ng serve it works 100% all the routers and everything just work. It was when I started trying to package up my app with electron-packager or builder where I get the routes no longer working.…
Ahad Cove
  • 323
  • 3
  • 12
0
votes
2 answers

Electron: How to extract a variable in a page loaded by electron to update the badge value.

I am looking for a way to update the badge value of a MAC application based on information provided in the page loaded by electron. I am loading the page at startup using the following code in the main.js file. function createWindow () { // Create…
0
votes
1 answer

Electron.atom app alwaysOnTop in Windows 10 tablet mode

When my electron app starts after every restart not maximize while I set alwaysOnTop to be true and minimizable to be false. I creating mainWindow like below: var scl = 1; mainWindow = new BrowserWindow( { screen:…
0
votes
1 answer

How to get dev tools in electron app after packaging? ( electron app = angular2 + typescript)

How can I toggle devTool in electron app after packaging. I developed this app in angular2. So, I just want to have a button which will toggle devTool on demand. Thank you!
0
votes
1 answer

Electron packaging with electron-packager - missing files in the build output

here is my build command. current folder has additiona files like settings.config, readme.md these files are not included in the build output. "build-win": "electron-packager . AppName --overwrite --out=dist --ignore='^/dist$' --prune --asar…
Jyo Reddy
  • 712
  • 5
  • 10
-1
votes
0 answers

Is there solution for client without install node js when use electron app

I have built my electron app, but I have a problem regarding the client having to install node js first, is there no solution for the user without installing node js etc. because I only want the client to be installed once and can be used…
-1
votes
0 answers

Electron App Error after Build when adding sqlite3

Sorry I'm new to this & I appreciate your support , I Added sqlite3 in my Electron App and it worked fine when I serve the App but when I Build it, it doesnt work any more and give me the below msg I followed different solution but it still doest…
Jalyn
  • 19
  • 4
-1
votes
1 answer

Electron-build not copying over additional html files

I'm using the boilerplate from electron-forge to construct an electron app that I would like to package. The main window is wrapped in an additional "gate" window that I'm using as a license check. in main.ts, the relevant code: const…
DrTchocky
  • 515
  • 1
  • 5
  • 14
-1
votes
1 answer

Can we sign a mac os app using electron builder with digicert?

I have an electron app and i have used electron builder with digicert. I'm able to make it work for windows. Now i'm trying to sign for mac OS using a mac computer. Can we use Digi cert to sign the app? Thanks
Brian Millot
  • 179
  • 1
  • 12
-1
votes
1 answer

how to create apps for winget via electron.js

how to create apps for winget using electron.js, I first thought of using portable in target but it just installs the app but I can't use it again, is the any other targets which I can use?
Arya Anish
  • 85
  • 2
  • 9
1 2 3
92
93