Questions tagged [electron]
Electron (formerly Atom Shell) is a framework created by GitHub that lets you write cross-platform desktop applications using HTML, CSS and JavaScript. Electron is based upon Node.js and Chromium.
electron
15,506
questions
1
vote
0
answers
523
views
How can i get the list of all opened apps on my desktop using electron.js not the list of processes?
i have fetch all the procecsses using different npm packages like
tasklist
ps-list
ps-node
in electron but still did not get the list of apps running on my desktop. i am using windows 10 and version ...
0
votes
0
answers
35
views
Refused to load the image because it violates the following Content Security Policy directive: "default-src 'self' 'unsafe-inline' data:"
I'm building an application that uses Electron Forge, React and Leaflet to display maps. However, when adding a map to my page, the following error is displayed in the console:
Refused to load the ...
0
votes
0
answers
6
views
How to detect a change in a callback of a controlTransfer using libusb and node.js
I am currently working in node.js sending a control transfer to my usb device and need to be able to detect when the return value of the request has changed. This then needs to be put into an if/else ...
0
votes
2
answers
6k
views
I get import gyp error when try to install package for electron
I tried to install on Windows the demo from this repository:
https://github.com/Seo-Rii/electron-acrylic-window
git clone https://github.com/Seo-Rii/electron-acrylic-window.git
cd electron-acrylic-...
-1
votes
0
answers
44
views
No icon is displayed
The following problem needs to be solved: when you drag shortcuts to the container, they are duplicated and their image is not displayed.
Below I provide the main code of node js electron and renderer....
0
votes
0
answers
98
views
i am get this error while build my electron-vite project
workingDir=C:\Users\hp\AppData\Local\electron-builder\Cache\winCodeSign
• Above command failed, retrying 3 more times
• downloading url=https://github.com/electron-userland/electron-builder-...
0
votes
0
answers
18
views
How to request an output from a usb device using usb library and node.js
I am creating an app to update the firmware on my usb device and need a way to check the progress on the update from the device's side. I am trying to figure out what exactly the output is so I can ...
0
votes
0
answers
29
views
Uncaught TypeError: Cannot read properties of undefined (reading 'send')
`Windows; MS Code; "Electron" 5.0.4, simple desktop text editing app
I get the following error after clicking the save button; the button is located on the "index.html" page in a &...
0
votes
2
answers
37
views
Load locally saved files to tonejs
I am trying to create an app with the electron-react boilerplate where i can create audio files.
I found Tone.js, which allows me to play sounds but loading the sample files seems close to impossible. ...
0
votes
0
answers
24
views
Miracast Not Working While Electron App Running (RTSP Protocol Breaks)
I am experiencing an issue where Miracast stops working when my Electron app is running. Specifically, the RTSP protocol seems to break, causing the connection to fail.
Details:
Electron Version: 29.0....
0
votes
0
answers
54
views
Dropdown menu overlaps with component in Vue app
I had a Vue electron app, in which Home view component has 3 child components which are in single column one after the other, I have a b-dropdown in middle component when I scroll up the opened ...
1
vote
0
answers
27
views
App threw an error during loadReferenceError: __dirname is not defined in ES module scope
I'm trying to build desktop app using Electron JS + React JS + Vite by using command (npm i electron-vite@latest)
It works fine, now there is a need to communicate to serialport, so installed (npm i ...
0
votes
0
answers
22
views
Load React or Angular Component In OpenFin
I am trying to get an OpenFin app to run using the Platform API: https://developers.openfin.co/of-docs/docs/platform-getting-started
I can get a 'platform' running, and x2 panels using the example in ...
1
vote
2
answers
75
views
Is it possible to add an eventListener to a custom title bar used for dragging the window in a frameless window?
Added a custom title bar to a frameless window in order to make the window draggable. The title bar shows, but eventListener won't fire:
main.js:
const createWindow = () => {
const win = new ...
-2
votes
0
answers
20
views
How to create electron app that will replace windows desktop
How can i develop an app, that can be used instead of default windows desktop, couldn't find any tutorials online, so I'm asking here
I only found some ways of using kodi, but I want exactly electron ...