electron-packager Questions
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
6
I made a simple Electron app:
main.js
const {app, BrowserWindow} = require('electron')
const path = require('path')
const url = require('url')
let win
function createWindow () {
win = new Brow...
Novelistic asked 1/12, 2017 at 16:13
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
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
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...
Zooid asked 27/4, 2022 at 6:9
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
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
6
I have created and electron application and trying to use electron forge for building purpose.
Please find below command which i have run it for creating the electron application:
#npm i -g create...
Pintsize asked 20/5, 2021 at 8:45
8
Solved
I'm learning electron and I've made an electron app that read and create files.
When I start the application with npm start or electron . it works as intended:
But when I use npm run build or buil...
Rudy asked 19/6, 2018 at 10:1
4
Solved
I trying to build an electron with an exe installer on macOS with a MacBook Pro with an m1. I already tried different packages like electron-packager, electron-forge, but unfortunately, none of my ...
Delubrum asked 3/3, 2022 at 21:9
0
I have an electron application that is very basic based off the Quick Start tutorial that simply loads a web page with a link. When I build it with npm run make I can test it and it works great.
Wh...
Angelita asked 25/7, 2022 at 20:55
3
package.json:
{
"name": "electronapp",
"version": "1.0.0",
"description": "electron auto-launch",
"main": "index.js",
"scripts": {
"start": "electron .",
"build": "electron-packager . --all...
Hymettus asked 20/9, 2017 at 9:25
0
The @vercel/webpack-asset-relocator-loader works in some modules, and does not work in some. In cases that it doesn't work, I have to use the externals config as stated in the electron-forge docs h...
Neckpiece asked 13/4, 2022 at 9:21
1
I am trying to separate the IPC function from the main.js file in electron because it gets too long
how can I use this webContents.send in different js file not in main.js
mainWindow.webContents.s...
Prawn asked 17/3, 2022 at 12:18
2
Solved
I have an electron app, that loads some css's from spring boot server.
When I run app from npm from sources, I can run as
ng build && electron . --disable-http-cache
and it works without...
Coherent asked 5/3, 2019 at 8:13
2
Solved
I've got an Electron app that shows a tray icon, which, when clicked, shows my main window. works great in development mode, but when I package it, (into a .app file), and double click the .app fil...
Leakage asked 17/9, 2018 at 20:22
1
I am trying to create a Windows installer for a electron app.
First the app is packaged with electron-packager.
exec(`npx electron-packager ./ "My App Name" --platform=win32 --out=${packa...
Laurenlaurena asked 11/12, 2021 at 22:30
3
Solved
There are lots of questions relating to setting icons using electron-packager but none of the answers have worked for me – maybe the answers are out of date or not clear – but I need to ask again.
...
Chartist asked 14/2, 2017 at 21:20
3
I have developed application using angular 4. I need to develop desktop application for this web application . From my initial research i got the best solution is electron. Any one please suggest t...
Imtiaz asked 4/8, 2017 at 7:32
1
Solved
How can send data with ipcRenderer in Electron?
I use this code but dose not work well. I can not send data to notes2 from main.js to index.html
In Main.js
ipcMain.on('notes', function(event, da...
Vigorous asked 8/9, 2021 at 12:20
1
I have created an electron project which is working fine but when I try to package an electron app using electron packager and then run it. I am facing an exception
Uncaught Exception:
Error: Canno...
Fad asked 11/9, 2020 at 10:12
0
I am trying to run the packaged electron app on my local Mac. But get an error message saying Error: Cannot find module ... I think the node_module is not installed.
I used electron-forge package t...
Indaba asked 5/5, 2021 at 12:26
2
I've made a small Electron app which needs to load a preload js file.
When I start the app with electron ., it finds the file, but when the app is packaged, it doesn't.
The call is made here:
ma...
Poppied asked 17/4, 2018 at 10:2
2
I have an EXE file which is packed and run by Electron. Now I want to unpack the single EXE file (not asar) to study the source code of this app. But how?
I have tried to unpack this web desktop a...
Berniecebernier asked 4/6, 2019 at 8:44
1
I’m making a multi platform application with Electron and I’m trying to make the file association using electron-builder.
I’ve added it to the configuration and that works fine, when I double clic...
Speaking asked 3/4, 2018 at 3:32
1 Next >
© 2022 - 2024 — McMap. All rights reserved.