15,339 questions
-1
votes
1
answer
44
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
37
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
47
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
63
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
62
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 ...
0
votes
0
answers
55
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
1
answer
42
views
Electron-Vite App seemingly not loading preload script [closed]
I'm trying to access a local sqlite3 database using ICP. When I run the handleSubmit() function in my Login component, I receive the following error:
Uncaught (in promise) TypeError: can't access ...
0
votes
0
answers
56
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
54
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
49
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 ...
0
votes
0
answers
64
views
Why drag and drop from my application is not happening to any external applications in electron
My problem:
I want to drag a file from my application into the another application like Paint , Windows Excel , Windows Files system ect, but the drop is not happening.
I have an Electron app. The ...
0
votes
1
answer
55
views
Why window.close() from renderer process doesn't trigger the close event in Electron's main process?
I'm building an Electron application and trying to close a window from the renderer process using window.close(). However, the close event listener I've registered in the main process isn't being ...
Advice
2
votes
1
replies
55
views
How does Discord reuse code for their desktop and browser apps?
I have made a web application that I want to support as an electron app. My plan was to thinly wrap my existing webapp code in an electron app and support a few small features like global hotkeys.
The ...
0
votes
0
answers
58
views
How to prevent Electron BrowserWindow from being throttled when other apps are in fullscreen on macOS?
I'm building a floating mic/system audio visualizer widget in Electron. The widget uses a panel type BrowserWindow that stays on top of all windows, including fullscreen apps.
The issue is that when ...
1
vote
0
answers
39
views
Resolving “You may need a suitable loader to handle this file type” in Electron environments
I added firebase-electron to my Vue CLI Plugin Electron Builder project using yarn, but I encountered the following error.
I'm using Webpack 4.43.0.
How can I resolve this error?
error in ./...