Skip to main content

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
0 votes
0 answers
8 views

How to send large data to the renderer process with low latency in electron?

I'm working on a video-related project where I've disabled nodeIntegration and enabled contextIsolation for security reasons. My task involves processing business logic in the utility process and then ...
-1 votes
0 answers
16 views

electron opens raw main file source code in my native browser

When I run my electronjs app (electron . or electron electron.js) instead of opening a electron tab it opens the electron.js file in my browser (opera) as if it were a text file I figured out that the ...
0 votes
0 answers
12 views

External REST API calls in Electron Vite

How can i possible access an REST api call from my backend to Electron-Vite without any security issues? Im trying to do this but its not working. import { contextBridge } from 'electron' import { ...
0 votes
1 answer
8k views

Is it possible to create file list in Electron?

I would like to create a file list that like the following: As long as I input multiple files into a section, it will make a LIST that contents the files. Is there any nodejs module or javascript ...
0 votes
0 answers
12 views

Angular 14 and Electron js Outlook integration doesn't work after creadentials given

We have used @azure/msal-angular For outlook integration in our system. let result = await this.msalService .loginPopup({ scopes: [ 'user.read', 'Mail....
0 votes
1 answer
17 views

Electron MariaDB SQL connection failed

I'm trying to create a login system on Electron,and I tried to connect to the database and it keeps showing an error: SqlError: (conn:-1, no: 45028, SQLState: HY000) retrieve connection from pool ...
1 vote
0 answers
508 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
17 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
5 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
40 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
77 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
16 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
25 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
30 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. ...

15 30 50 per page
1
2 3 4 5
1033