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
-1
votes
1 answer

creating Electron JS executable file ( electron-builder or electron-forge )

I have an electron app and now I need to get an executable file for it. I am worried which tool to use electron-builder or electron-forge. I tried to use electron-builder and configuration it, because I need to install the app with steps like…
Nai
  • 45
  • 1
  • 7
-1
votes
1 answer

How to encrypt ASAR archives?

Is there any possibility to encrypt an ASAR package so that possibly malicious actors cannot reverse-engineer my application in virtually no time? So far, I have not found any information on this whatsoever.
-1
votes
1 answer

Electron disable CTRL+A keyboard Shortcut

I would like to disable shortcut "CTRL+A" on specific window, Here is my current code based on Electron docs electronLocalshortcut.register(app..main, 'Ctrl+A', () => { console.log('prevent ctrl+a'); }); I'm able to catch "CTRL+A" event but I'm…
Loki
  • 1,064
  • 2
  • 26
  • 55
-1
votes
1 answer

How does NSIS installer track per-user installs

I built an NSIS installer for my electron app via electron-builder. Initially I had it per-machine, then changed it to per-user so user doesn't have to be an admin. I'm not sure of my steps of what exactly I installed during this transition…
-1
votes
1 answer

What is the best way to store database connection string in an electron app?

I am developing an electron app that connects to a remote couchdb database using a connection string which contains the db's username and password, something like https://admin:admin@IP:PORT But I do not wish to reveal the database credentials in…
Phantom007
  • 2,079
  • 4
  • 25
  • 37
-1
votes
1 answer

I've an electron project and I'd like to use vueJS with it

I've an electron project and I'd like to use vueJS with it...I need someone to explain what should I do in ordered steps
-1
votes
1 answer

Setting registry 0 or 1, error:vbscript process reported unknown error code 1

I am trying to assign registry value to 1 or 0. Electron packager and electron behaves differently. I set the value of registry to 0 and 1 on click of anchor tags. I am able to achieve this before the application has packaged but after application…
karansys
  • 2,449
  • 7
  • 40
  • 78
-1
votes
1 answer

npm run electron is working but not displaying any thing

I am following this code https://coursetro.com/posts/code/125/Angular-5-Electron-Tutorial but it is running but nothing is displayed . what is the problem? const { app, BrowserWindow } = require('electron') const path = require('path') const url =…
Midhilaj
  • 4,905
  • 9
  • 45
  • 88
-1
votes
1 answer

Custom script in electorn builder?

I'm working on an Electron application and am using electron-builder to generate a windows installer and dmg for mac. Everything works great, I was able to set up auto update and use other features of electron-builder. Now I need to include other…
JuanMa
  • 111
  • 4
-1
votes
2 answers

Auto Updates on windows

I am trying to use the auto update feature, does anyone have a tutorial or something about how to do it? I've read the documentation but they only provide the available methods, not how to use them. Thanks
Bruno Pereira
  • 121
  • 1
  • 1
  • 5
-2
votes
1 answer

Electron js: development differences between windows and mac

Context: I'm starting to implement a cross-platform app for Windows and Mac with electron Js. The bundle that will use or use this electron Js app is developed in Angular. My questions are: Are there differences when developing the app for windows…
-2
votes
2 answers

What is the correct way add a protocol to the macOS info.plist using electron-builder?

I need to be able to launch my Electron app from the the browser (like sign in to Slack does). I know that I can add my protocol name to my Electron app using app.setAsDefaultProtocolClient(protocol[, path, args]) in Electron. Then in…
Mr. Robot
  • 1,334
  • 6
  • 27
  • 79
-2
votes
1 answer

Is it possible to build Apps comatible for Mac OS 10.6 using Electron?

I am new to Electron. Building OSX apps using Electron is easy. However, I couldn't make the app compatible with OSX 10.6 and higher. Is there a way to do this? The Default build targets latest version of OSX. I want to make it compatible with Mac…
1 2 3
92
93