electron Questions
2
I've been running an Electron App on a Pi4, Ubuntu 22.04 Server, and Gnome desktop without issue. Since it runs as a kiosk anyway as a single app, I've been attempting to eliminate Gnome and just l...
Arquebus asked 15/9, 2022 at 4:22
6
Solved
I added a Content-Security-Policy as suggested here: https://www.electronjs.org/docs/tutorial/security#6-define-a-content-security-policy and here: https://content-security-policy.com/examples/elec...
Fourgon asked 22/10, 2020 at 8:42
3
Solved
I am using electron forge with typescript integration.
I can't find a solution to drag and drop files from explorer and get their full paths
I put in index.ts the following:
import {app, BrowserWin...
Sheryl asked 23/6, 2021 at 17:5
2
I'm currently working on an Electron app which uses a third party software. At some point I'm checking if that software is installed on the user's computer (it has to be in PATH), and if it's not t...
Aretta asked 10/7, 2018 at 12:18
4
Solved
In the last release (v0.31.0) electron comes with a statically linked FFMpeg library (not the command line tool, see #2588)
I am aware of the many nodejs modules for ffmpeg, but they all look like...
2
In the main process, I have a simple Uint8Array and I want to send it to the renderer process.
sender.send is converting everything to JSON, so it cannot be used for binary data.
Is there a simpl...
2
Since the release of "Safari App Extension" I have toyed around with creating safari app extensions for native applications using xcode. Now however, I'm attempting to create an extension for an ap...
Pompadour asked 7/7, 2018 at 1:43
2
Solved
I need to get local IP of my computer in react js app. Can anyone please suggest a good way to do it?
Bengali asked 14/1, 2022 at 14:7
10
I am using electron-react-boilerplate to create an Electron-React app. The dev tools show up on the screen by default. How can I make the dev tools only appear when I ask for them and not show up o...
1
I'm building an Electron app using Electron Forge and I need to pass environment variables to the final executable.
I've tried defining the environment variables in forge.config.js like this:
env: ...
Deliladelilah asked 4/5, 2023 at 21:10
5
I am developing a desktop app with react for UI and electron.
So, for now, I am fetching data from the server and saving it in the state using React's Context API to update the UI.
I am keeping t...
Chauvin asked 16/1, 2020 at 18:48
2
I am using Linux Mint 20 and vscode 1.52.1.
My ~/.xsession-errors file shows Warning: 'sandbox' is not in the list of known options, but still passed to Electron/Chromium.
What is causing this erro...
Airfield asked 24/12, 2020 at 18:20
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
4
I want to know where BrowserWindow located from two or more screens.
I guess Electron API doesn't give a method. How can I do that? Is there any way or something??
Orly asked 11/8, 2017 at 11:43
8
Solved
Creating a simple template electron app. I want to do a fetch request to my api but am continuously stopped by the Content Security Policy errors and I have no idea how to fix them.
Refused to con...
Appropriate asked 27/11, 2021 at 5:32
3
Solved
Googling says you can add a callback to it, but the documentation just says "arg1, arg2, arg3" etc.
They also have sendSync, but I'd prefer not to block while my event is being sent [we're trying ...
Rao asked 17/7, 2017 at 15:28
3
Solved
I would like to use the react-to-print library to print an iframe from my Electron app. How can I use the iframe reference to get the correct window/element to print?
const handleElectronPrint = as...
Deviationism asked 12/8, 2021 at 4:10
3
Solved
I am new to electron and trying to load images from the local file system to display it on screen. So for images from the remote URLs are working just fine when I do
<img src='https://example.c...
Amabel asked 10/5, 2018 at 11:58
2
Solved
I am creating an Electron Application in which I am recording data from webcam and desktop, at the end of the recording session, I want to save the data to a file in the background. I do not know h...
Cicatrize asked 22/4, 2017 at 17:15
8
Solved
I have an Portable Electron App (packed with: electron-builder + asar, portable build) on Windows. I try to get the application path but it returns a path within the user\temp folder rather than th...
Overdraw asked 19/9, 2017 at 18:49
3
I am creating an Electron application, and per the Electron security tutorial I have added a CSP meta tag. When running the application, this issue appears in devtools.
Content Security Policy of ...
Mohamed asked 25/12, 2020 at 4:19
2
Solved
I'm just using the code as a learning exercise regarding JavaScript classes.
The code produces a "TypeError: SimpleLogger is not a constructor". The class seems to be exported Ok but I can't insta...
Patella asked 23/3, 2019 at 21:4
3
Solved
I've built a fairly complex graphical user interface for a data analysis pipeline that a neuroscience lab is using. I built it with Python in a Jupyter Notebook using ipywidgets and various interac...
Seafaring asked 18/3, 2018 at 7:52
6
Solved
I have a setup that integrates electron with svelte along with typescript support.
when I run the rollup script to compile svelte app, i am getting cannot find module ./App.svelte error as shown be...
Bertolde asked 4/10, 2020 at 12:25
16
I use Firebase-auth for my web application I'm developing with electron framework. I created an API key using project settings, and copied it into my html's body as it is suggested in Firebase guid...
Staciestack asked 11/2, 2019 at 17:50
1 Next >
© 2022 - 2024 — McMap. All rights reserved.