electron-builder Questions

5

Solved

I have an Electron app. I try to make the app open an .exe file. I created a directory in the root folder named lib and placed the .exe file there. In development, I have no problem opening the fil...
Liquesce asked 3/9, 2017 at 10:23

9

i`ve a problem with electron-builder and the browserWindows preload option in my main.js: // Create the browser window. mainWindow = new BrowserWindow({ x: mainWindowState.x, y: mainWindowState...
Ozmo asked 23/3, 2020 at 13:24

1

I am developing a project with vue2-electron builder. But when i run this code, its not displayed. The error is; (node:10500) ExtensionLoadWarning: Warnings loading extension at C:\Users\Dell\AppDa...
Mallet asked 27/12, 2021 at 23:28

17

Solved

Evening, I'm looking into using electron to package an existing angular2 build. I thought I had a dry run working but the actual packaging seems to be failing (see final step below) and I want to u...
Vary asked 13/12, 2016 at 21:38

3

I have an Electron app where I want to introduce parallel release channels: stable, next (for early adopters) and dev (for testing the latest build). These will have a branch each, with new featur...
Dyan asked 24/11, 2016 at 10:26

5

After running electron-builder for Windows / NSIS during a build process, our dev-ops team set a build script that runs to code sign the exe before deployment. After it gets to the server, electron...
Clothe asked 25/9, 2017 at 14:14

3

Solved

I'm building an Electron application starting from the electron-webpack boilerplate. I found this node module @ffmpeg-installer/ffmpeg which installs a compatible precompiled binary into the /node...
Bartholomeus asked 16/12, 2017 at 18:11

2

I have created new angular project with electron.I do need to set up the electron. I have got below errors. ERROR in ./node_modules/electron/index.js Module not found: Error: Can't resolve 'fs' ...
Bukovina asked 21/4, 2019 at 3:58

1

I have created an electron app and built it using electron-builder On app uninstall I need to delete the data that localStorage, kind of access tokens, etc. In windows there is nsis - deleteAppDat...
Cadge asked 5/9, 2019 at 17:2

2

Solved

I am making an app in Electron and I have a frameless window, I have some top areas to -webkit-app-region: drag but when I do this, the will not change. obviously it will not be draggable in this ...
Misdeed asked 1/11, 2017 at 21:22

8

I managed to create an .exe installer for windows using electron builder, I create 2 package.json as pointed out in the docs : https://github.com/electron-userland/electron-builder. I ended up h...
Dogged asked 4/4, 2016 at 9:30

4

Solved

I'm developing an App using the latest version of Electron-builder (using AutoUpadate). Is there any way to know that the App is running for the first time after installation? Ps: I have tried us...
Vani asked 30/4, 2017 at 21:53

3

I find that the MyApp.exe file generated using electron-builder is nearly about 500M. I am not sure what I did because previously, just for ia32 or x64, it would be around 196M. I also looked at th...
Psychosis asked 18/12, 2017 at 10:30

3

Solved

I have a minimal electron app and I am trying to build it (it runs fine). My package.json is "main": "main.js", "scripts": { "start": "electron -r babel-register .", "package": "build --dir", ...
Panhandle asked 20/2, 2018 at 17:37

5

I can't find reference about this anywhere in their website/docs. I need to change this to another port, currently it's stuck in 3000. Here's how I create an electron project with electron-forge ...

6

Solved

I am new to electronjs. I want to convert an angular app to desktop. I could achieve it successfully but the problem is that the app icon is set to default electron and not the icon I provided as f...
Exceptional asked 12/10, 2019 at 6:40

11

Solved

Good morning, I have created a program in Vue JS, this connects with an API that I have created in a main.js file to execute system commands. The problem I have is that when compiling for productio...
Genome asked 22/6, 2021 at 14:25

3

Solved

The Node.js environment in Windows can be set before the server is started, like this: set NODE_ENV=production That NODE_ENV parameter can be used in Node.js or electron by process.env.NODE_ENV. ...
Gernhard asked 16/1, 2019 at 9:50

3

Solved

I have built an application of stack electron and reactjs. I am trying to access the camera and microphone from the application. But the app does not ask for permission when requested and also it d...

1

Solved

I need to put a .env file into a packed app while building, then attach variables from the .env to process.env. I put the .env in the same directory as the package.json and it works when I start el...
Obcordate asked 17/6, 2022 at 9:7

2

How do we add worker thread in Electron JS? I have tried below which works fine in dev mode. const worker = new Worker(path.join(__dirname, 'worker.js')); But this causes error when the app is pac...
Impermissible asked 25/6, 2020 at 7:38

6

I'm building a desktop app using electron and vue, things went normal running the app in dev mode and building it untill the last building by running electron:build but I keep getting this error of...
Earlap asked 8/5, 2019 at 11:19

2

Solved

I am new to electron. I have an angular application wrapped in electron that I want to build the package/installer using electron-builder. I am using electron-builder-config.yaml file to build the ...

3

I'm building an application with Electron and packaging with Electron Builder. When running electron, I want to pass this command line argument: --enable-mixed-sandbox. Is it possible? How? This:...
Landlordism asked 24/7, 2017 at 19:22

3

Solved

I've built an app with Electron and used Electron-Builder to create a Squirrel windows installer and updater. It all works great but I'm having trouble debugging the production version of my app. ...
Gearing asked 14/12, 2016 at 11:1

© 2022 - 2025 — McMap. All rights reserved.