15,338 questions
0
votes
1
answer
44
views
How to open files from the user's local device in serverside Blazor using ElectronNET?
I created a serverside Blazor App and "electronized" it by following the instructions in the read me on the electronNET/electron.NET github page. One of the requirements for this app is to ...
Tooling
0
votes
2
replies
28
views
Prevent Certain DOM Elements from being Screen Recorded in Electron
I have a React web app that I am running inside an Electron app. I am doing this so that I can screen record like so:
window.electronAPI.startRecording();
However, some of the content on the screen ...
-6
votes
0
answers
35
views
What is the difference between a framework and a set of rules and instructions, basically a blueprint as the HTML Standard? [closed]
Supposedly framework too is a set of rules, but why it's that the framework Electron and the HTML Standard which we know is a set of all the instructions and rules installed in the browser to what ...
0
votes
0
answers
24
views
Electron Notifications: Will using a Map to store Notification instances prevent GC issues, and can it cause memory leaks? [closed]
I’m building an Electron Timer app where multiple notifications may be active at the same time. Initially, each Notification instance was created inside a function, but the "click" and "...
0
votes
1
answer
24
views
Firefox SSO login shows file picker dialog instead of opening browser on Ubuntu 22.04/24.04
I'm developing a Linux application that opens SSO authentication URLs in the default browser.
On Ubuntu 22.04 and 24.04, when Firefox is the default browser, clicking the SSO link shows a file picker ...
2
votes
1
answer
28
views
ElectronJS shell openPath cannot open file inside app.asar
Try to open a HTML file that resides inside the packaged app app.asar file. The file is there but Windows complains that cannot find the file. The pieces of the puzzle are:
inside the win-unpacked\...
-1
votes
1
answer
48
views
Electron IPC: File objects arrive as empty objects {} in main process
Problem
I'm trying to send multiple files from the renderer process to the main process using Electron's IPC, but the file objects arrive empty.
Renderer Process:
if (files?.length > 1) {
window....
Advice
0
votes
5
replies
40
views
Generating Interactive Documentation from Javascript Source Code
I’m working on an Electron project, and I can generate JSON for my code using JSDoc:
jsdoc -X > data.json
I want to use this JSON output to create a live, searchable documentation site similar to ...
0
votes
2
answers
52
views
Electron: Alternative to navigator.geolocation.getCurrentPosition without API key? [closed]
In my Electron app, navigator.geolocation.getCurrentPosition() always fails. It seems that Electron (Chromium) no longer provides free geolocation and expects a third-party service with an API key (e....
-1
votes
0
answers
68
views
Transparent, unfocusable and clickable BrowserWindow in Electron
I am creating a button that is clickable but doesn't bring the app to the foreground. To achieve this I implemented the button as a separate BrowserWindow with focusable: false and its parent set to ...
Advice
1
vote
2
replies
74
views
Tauri or Electron js
I’m starting a new project to build an ERP POS application using the MERN stack. I’m confused about whether I should use Electron.js or Tauri to turn it into a desktop/web app. Which option is better ...
-1
votes
0
answers
59
views
No app icon on Linux app with electron-builder, but shown when electron is used directly
i am programming an app with vite, svelte@4, electron and electron-builder. if i run electron ./start-electron.js the logo is shown, but after many days of trial and error i still don't get it in the ...
0
votes
0
answers
59
views
Electron Builder: Built app starts UI but server + SQLite database do not run in packaged versio
I have an Electron application that uses:
React for the frontend
Node + Express backend inside /Server
A SQLite database stored inside the same /Server folder
During development, everything works ...
1
vote
0
answers
55
views
Generating a virtual image for an Electron application
I’m trying to replace a the content of an image URL with the result of a custom protocol. The idea is to get the data from a zip file.
The img element looks something like this:
<img src="...
1
vote
0
answers
51
views
How to properly log HTTPS (especially SSE) request responses in Electron webview without using deprecated APIs?
Here's a minimal GitHub Gist that runs on Electron Fiddle :
It's supposed to show GitHub Copilot (github.com/copilot) in a webview element as if it was in a normal browser :
Using the following code ...