electron-packager Questions

1

Solved

I am generating electron distro for linux. This is how the app is built This is how app is built in packge.json "builderForLinx": "electron-packager --out linx64 --overwrite --platf...
Brachy asked 7/9, 2020 at 16:3

1

My electron app crashes as soon as the memory usage reaches 2,000 MB. I can test it by having this code in my main process file which intentionally raises the memory usage: const all = []; let ...
Aspia asked 14/9, 2018 at 18:11

6

Solved

I recently started using electron. I have successfully completed the 1st phase by creating a hello world app (included files index.html, main.js, package.json). Now I am trying to package the app u...
Nodababus asked 14/7, 2017 at 8:6

2

Solved

Background: In my app, I have a local DB file, named example.db which is read by the main.js. The project structure and part of my main.js program is shown below. Project folder architecture ma...
Solingen asked 20/3, 2017 at 9:32

1

I have been struggling with this issue and could not figure it out. Similar problems were posted which solutions suggested node version had a glitch or package versions should be down/upgraded. I h...
Scandium asked 11/12, 2018 at 23:30

3

I've got my electron build files for a win .exe and installer but the icons aren't mine. In my main.js file, I have code to attach the icon but I can only make it work inside of the createWindow fu...
Pointdevice asked 8/3, 2017 at 23:40

1

I'm working on an electron app and within the app, I execute shell commands using child_process.exec. One of the commands I run is npm run start; this works perfectly in a dev environment but when ...
Mnemosyne asked 29/3, 2019 at 9:8

3

I'm not able to build an executable file of an Electron App with the following command: electron-packager . electron-tutorial-app --overwrite --asar=true --platform=linux --arch=x64 --prune=true -...
Yulandayule asked 8/3, 2019 at 9:37

3

Solved

I'm using electron-builder (16.6.2) to package my electron application which includes keytar (3.0.2) as a prod dependency. package.json file includes: "scripts": { "postinstall": "install-app-de...
Exhilaration asked 5/4, 2017 at 14:26

1

Solved

When I package an electron app using electron-packager. The app spawns a child process which uses a 'node' command. Now if I try to launch my app in a system with no node installed on it, does the ...
Receptacle asked 9/8, 2018 at 16:15

2

Solved

I have my packaged electron app using electron-packager and I want to run this app in any mac which doesn't have node installed. I was suggested that electron-packager bundles the node into m...

2

Solved

For example, I have a compiled binary cudaDeviceQuery which returns a list of devices as JSON. Here's a piece of code: export default function cudaDeviceQuery(): Promise<CollectorResponse> {...

1

Solved

I have an electron app and below is the folder structure. app |--node_modules |--somepackage/src |--src I am packaging this app using electron-packager, so I tried to ignore root level src fold...
Ploughman asked 25/5, 2018 at 8:16

1

I'm using electron-packager for creating an electron.exe of my app. I need to exclude all node modules . I tried the following --ignore=node_modules The above is not working. Any idea how to exclu...
Sight asked 23/3, 2018 at 9:27

0

I am trying to package an electron app using electron packager. After successfully packaging the app, when I open the app file, it throws the following error. Version that am using, npm - 5.4.1...
Devilry asked 19/9, 2017 at 7:50

1

Solved

Well, I have quite a simple task, which can't be really hard. I have an app, which uses the electron framework to use the application on Windows and Mac machines. I notices that I am able to use C...
Wasserman asked 28/6, 2017 at 8:26

1

Solved

This is my first electron app, which is based on quick-start app. I want to add twitter bootstrap's css. So I installed it like this: npm install bootstrap And included in the index.html like th...
Tow asked 13/3, 2017 at 9:12

© 2022 - 2024 — McMap. All rights reserved.