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.

0 votes
0 answers
10 views

How do I check if the webview and the app are not focused

My app thinks it is not focused while the <webview> is focused. It checks if the app and the webview's IsFocused function returns true I'd like it to work,not do false positives! I tried GPT3, ...
Ashton Drye's user avatar
1 vote
0 answers
5 views

ERR_SSL_CLIENT_AUTH_CERT_NEEDED when sending custom client certificate from Electron

I have been trying to send a certificate (in the form of a .pem file) from Electron to my backend (using gevent) and encountering the following error (node:18946) electron: Failed to load URL: https://...
Keane Dixon Wong's user avatar
0 votes
0 answers
11 views

Electron Forge does not pass specific `arch` for universal Mac builds

We are using ffmpeg-static in our Electron app, and creating a universal mac build via electron-forge and under the hood electron/universal. But only the arm64 ffmpeg binary exists in the final app. ...
Ethan's user avatar
  • 400
0 votes
1 answer
14 views

Cannot Import local module/file in Electron-vite (vue)

index.js(entry point of electron) import { connect } from "./MongoDB"; MongoDB.js module.exports = { connect,} error- > electron-vite dev vite v5.3.4 building SSR bundle for ...
Ehe's user avatar
  • 1
0 votes
0 answers
13 views

Electron Store working in dev mode but not in production

I am using Electron Store in Electron Js Project. The app is successfully built. But the electron store is not working in production/build version as I am not able to store the data persistently. What ...
Bibek Chalise's user avatar
0 votes
0 answers
17 views

How to make all new tabs/windows in electron direct to new electron-tabs

I'm currently working on some JavaScript code for a project. My goal is to make Electron open all links that would normally result in "pop-ups" to open in new tabs under the electron-tabs ...
Alex's user avatar
  • 1
0 votes
0 answers
8 views

Can't debug the frontend of Electron/TypeScript/React/Webpack project in VS Code

I am working on Electron/TypeScript/React/Webpack project, this is my launch.json file in VS Code Run and Debug: { "version": "0.2.0", "configurations": [ { ...
Charlie's user avatar
0 votes
0 answers
5 views

How to create a minimize button?

index.js const mainWindow = new BrowserWindow({ width: 800, height: 600, resizable: false, frame: false, icon: path.join(__dirname, 'icon.png'), webPreferences: { preload:...
narem's user avatar
  • 3
0 votes
0 answers
33 views

node native c++ code in electron unexpected character

This is my folder structure: └── my-electron-project/ ├── lib/ │ └── addon/ │ ├── build/ │ │ └── Release/ │ │ └── addon.node │ ├── addon.cc │ ├── binding.gyp │ ...
Mart's user avatar
  • 481
0 votes
0 answers
13 views

pathMapping in vs code debug is not working

I have the following as my launch.json file { "version": "0.2.0", "configurations": [ { "name":"Launch vite:dev", "request&...
Zachary Vander Klippe's user avatar
0 votes
0 answers
69 views

net::ERR_CONNECTION_RESET when trying to fetch/getting data from localhost http server

I got a http server in C++ running on my localhost to get some data transfered to my electron react frontend. Unfortunately I run into heavy issues and I tried googling all day & night. It uses ...
H 1's user avatar
  • 1
0 votes
0 answers
15 views

SSH2-SFTP-client module won't import

I am trying to import and use the ssh2-sftp-client package for my React/Electron project, but any time I add the import to a file, I get a massive wall of module errors. They are all either "Can'...
Rancid27's user avatar
-1 votes
0 answers
18 views

How to Package and Distribute an Electron App for Use on Another Computer? [closed]

i'm very new to development (i started learning 4 months ago) and i took the challenge to make a simple desktop app using VSCode and electron for my internship's supervisor, it basically helps him to ...
Noso's user avatar
  • 1
0 votes
0 answers
18 views

Desktop application with file manipulation [closed]

So I want to create a desktop app that is run locally. It doesn't need to use internet. But it does need to read, write and create some excel files. Now I wrote the app in react. And I did some ...
veer mewada's user avatar
-4 votes
0 answers
48 views

Bug in finding image in electron with sqlite [closed]

So, my problem is that my app can't find my image, and on my sqlite database there's just a txt file that says undefined: This function goes immidietely after entering the app ipcMain.on('load-...
Tervix's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
1033