electron Questions

1

I'm trying to figure out how to exchange messages between the main process and the BrowserView. I've been using the ipc between the main process and the renderer process within a "simple"...
Crepuscular asked 23/2, 2022 at 20:45

2

Solved

I know that you can use electron for cross platform applications (windows, macos, linux) but is there a way to get it to run on android?
Gdynia asked 9/3, 2022 at 19:35

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

2

Solved

I am currently trying to get rounded corners on an Electron application I'm making. I have tried nearly every solution available on-line at the moment, but none of them make any difference. How can...
Adverse asked 10/7, 2018 at 10:15

6

I am creating an Electron application using Angular 4. How can i set it up so that it watches for any changes and live reloads it. package.json { "name": "angular-electron", "version": "0.0.0",...
Katharinekatharsis asked 2/10, 2017 at 20:18

9

Solved

I have an Electron app that can open different windows. On app launch the app open a set of window(s) (that load the same HTML and JS files) but with params to change each window displayed infos. ...
Thornton asked 12/7, 2016 at 17:1

5

Solved

Good night everyone. I'm having trouble with probably some simple recursive function. The problem is to recursively list all files in a given folder and its subfolders. For the moment, I've m...
Bordelaise asked 1/5, 2018 at 18:32

5

Solved

I'm working on an Electron application and I want to use async await in an anonymous function in my Main like this: process.on("uncaughtException", async (error: Error) => { await thi...
Wojcik asked 19/8, 2020 at 13:32

2

Solved

I'm building an Electron JS app using Electron Forge and Vite, and I'd like to display a second window in the application, but it isn't displaying properly. When I run npm run start the second wind...
Brander asked 24/5, 2023 at 2:16

3

I installed Electron 7.1.3, when I try to run the app this error appears: FATAL:atom_main_delegate.cc(211)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180 Thi...
Goer asked 5/12, 2019 at 20:52

3

Solved

I'm trying to implement autoupdate of my electron-react application using electron-updater and AWS S3 bucket. But getting error: ⨯ NoCredentialProviders: no valid providers in chain. Deprecated. F...
Ramsay asked 4/2, 2021 at 12:14

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

6

Solved

I am very new to the electron. Can anyone suggest me how to get a local folder's relative path using the electron? JavaScript does not have that capability. I have a Choose File button(see snaps...
Alinaaline asked 22/3, 2016 at 11:11

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

1

I'm attempting to configure electron-webpack's renderer build settings so that they work in a browser window set up with nodeIntegration set to false. This means that node APIs aren't available, wh...
Schmid asked 7/4, 2018 at 8:56

1

Solved

I'm trying to get react to work with electron and even though i followed the instructions from this site: https://dev.to/mandiwise/electron-apps-made-easy-with-create-react-app-and-electron-forge-5...
Teenybopper asked 7/5, 2021 at 1:58

2

How to change the size of the BrowserWindow, not at startup, but on time work? All the solutions that I found were about such: var win = new BrowserWindow({ width: 800, height: 600, show: false }...
Galilean asked 1/7, 2017 at 1:16

3

I have a Electron based browser like application which uses Electron's tag to render client urls. I have my own custom tabs setup using multiple webview tags. As mentioned in the electron documen...
Lipoid asked 8/1, 2019 at 10:10

3

Solved

I have an electron app where I am trying to push some CPU intensive tasks to a worker thread. This works well when I start the app using npm start, but after packing the app (with electron-packager...
Sway asked 9/12, 2019 at 17:43

2

Solved

I am building a native Node.js addon for Electron (VSCode, actually). Electron has different versions and some of them have different NODE_MODULE_VERSION parameter, and the addon must be built for ...
Hackamore asked 2/12, 2019 at 16:0

9

I'm making a desktop application with create-react-app and Electron. It needs to run on Mac, Windows and Linux. I also want to make a native version afterwards for Android and iOS. Can I just make...
Crevasse asked 8/1, 2018 at 14:8

14

I am following the quick installtion guide on electron :http://electron.atom.io/ Script: Clone the Quick Start repository git clone https://github.com/electron/electron-quick-start Go into the ...
Beera asked 4/5, 2016 at 21:13

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

4

Solved

I am new to electron and converting an web app to desktop application.I am loading pages from file system.Cookies are working if pages are served from web server but when I load pages from local fo...
Motor asked 27/4, 2018 at 13:0

2

Case How to open an existing database? Issue I already create one database with RxDB.create(), and created some collections, put some documents in it So, in another script, i want to open that data...
Vallery asked 25/8, 2020 at 7:24

© 2022 - 2024 — McMap. All rights reserved.