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
28 views

Does Vite allow for native node modules (.node file) in an electron app?

When using webpack I was using a require statement. Switching to an import statement doesn't seem to solve the problem. Am I just barking up the wrong tree here? Thank you in advance!
Max Heffern's user avatar
0 votes
2 answers
603 views

Is there any way to get around macOS Sequoia prompt for continued access to screen and audio permissions?

I am currently developing an Electron application with a companion Swift application that takes screenshots of the user's screen on keypress. It also takes a 1x1 pixel screenshot of the screen from ...
Krish Shah's user avatar
1 vote
0 answers
49 views

node.js require returns a string

I created an Electron project with Vite. And I imported Electron from the file to be used in the Worker. No Electron object was returned, only the Electron installation path. How do I get an Electron ...
sandwich's user avatar
-1 votes
0 answers
20 views

How can I require the electron module from within cordova's renderer process?

I created a plain cordova-electron application using this tutorial. I am trying to access the ipcRenderer object of the electron module so I can receive events sent from the main process (cdv-electron-...
nick zoum's user avatar
  • 7,329
0 votes
0 answers
24 views

How to create a Windows installer with UAC prompt using electron-forge?

Is it possible for electron-forge to display a UAC prompt before installation? I looked at the Electron Forge documentation, and it doesn't have any configuration to allow a UAC prompt before ...
Julio de Leon's user avatar
0 votes
0 answers
11 views

making an installation program for electron.js solution

I successfully made an electron.js solution and zipped up the file to hand over the work to the computer where it would be used. It is launched by typing : "npm start" from a command line ...
xarzu's user avatar
  • 9,275
0 votes
0 answers
23 views

How to specify the update location for Electron Wix MSI installer?

We are considering Electron for our next app and we have several enterprise customers that require that they be able to change the install location. Because of this, I'm trying to use Electron Forge'...
dransom90's user avatar
  • 1,630
0 votes
1 answer
19 views

Electron dialog.showOpenDialog doesn't respect filters on Linux

I want to filter when choose a file with showOpenDialog on Electron. I would like to make user able to choose Markdown (md) only. But it is not respected. So now User can select a file of all type. ...
KiYugadgeter's user avatar
  • 3,804
0 votes
0 answers
70 views

Whatsapp-web.js doesn't trigger "ready" event when running packaged app in electron

const { Client, LocalAuth, MessageMedia } = require('whatsapp-web.js') const {timer, generateRandomTime} = require('./utils') const log = require('electron-log') const puppeteer = require('puppeteer') ...
pedrosarkis's user avatar
0 votes
0 answers
21 views

Passing headers with session.protocol.handle

When trying to pass a resolved url from inside a protocol handler, session.fetch does not pass any headers. Using request.headers does not work, as it is also empty I have tried getting the headers ...
theMackabu's user avatar
0 votes
0 answers
38 views

Install tensorflow\tfjs-node on Windows 11

I've got a lot of problem installing TFJS My situation: Python v3.11.9 (from vscode terminal) NodeJS v20.14.0 (from vscode terminal) Windows 11 Visual Studio Community installed What i've done: ...
Doublegram's user avatar
0 votes
0 answers
16 views

File not found at new WindowsPtyAgent when using pty for a spawn process of running another file through cmd

I am working on a Desktop app with electron framework which always has a terminal open the output of the processes run is shown in that terminal. I am using node-pty for this but when I try to pass a ...
shivay sharma's user avatar
0 votes
0 answers
21 views

How to Create a React Application with Electron.js and Addons Without Using Webpack?

Could someone help me with this? I'm making an application with Electron.js, React, and addons. I've had problems with the make process as it doesn't recognize the addon's path. After doing some tests,...
Omar Andres Zambrano Arias's user avatar
0 votes
0 answers
41 views

SSL context creation crashes of c++ native module in Electron application

I am building a C++ native module to be used in an Electron application. The native module is responsible for communicating with a WebSocket server. I am using the WebSocketPP library and the ...
Vasyl K's user avatar
  • 31
0 votes
1 answer
39 views

Page navigation with Nuxt3/Electron not working - not allowed to load local resource with '#'

I am using electron-forge to build a project using this nuxt-electron module with npx nuxi generate && electron-forge make the build works fine and I am also able to start the app and the ...
Sev's user avatar
  • 37

15 30 50 per page