Skip to main content
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-3 votes
0 answers
34 views

What is an ideal place to manage your global store when using hide-to-tray feature, renderer or main process? [closed]

I'm running into a design decision regarding my global state store (similar to Redux). My application uses vanilla Web Components and a custom global store. My data is persisted to SQLite via IPC ...
distalx's user avatar
  • 336
0 votes
0 answers
42 views

How to prevent electron app from disappearing from the taskbar in windows when listening to `window-all-closed` event in windows?

Totally as the title says: I have an electron app ( mainly simple code as a start up track ) and I have normal createWindow function and an event listener to if all the windows are closed, if so quit ...
Peace In Life's user avatar
0 votes
0 answers
19 views

Failed to load: -6 ERR_FILE_NOT_FOUND file:///D:/.../angular-dist/browser/#/ [closed]

What I’m doing: I load the Angular app using: const indexPath = path.join(__dirname, 'angular-dist', 'browser', 'index.html'); mainWindow.loadFile(indexPath); The Angular app uses hash-based routing ...
TAMILARASU's user avatar
0 votes
1 answer
42 views

ESLint can't resolve electron specific module node:original-fs

I need this module to perform some logic with asar files. Project builds and works fine. VSCode correctly resolves node:original-fs. Only ESLint fails to resolve it: PS C:\Users\my-project> npm run ...
RareScrap's user avatar
  • 602
0 votes
0 answers
23 views

Electron PDF download button doesn't work

I'm using electron as browser to load remote pages, when I open a PDF the default PDF viewer is opened but the file download button doesn't work and doesn't throw any error: This is the package ...
Tobia's user avatar
  • 9,585
0 votes
0 answers
57 views

electron-builder custom install path

I have the below build script: "build": { "appId": "com.yourcompany.gamelauncher", "productName": "My Game", "directories": { ...
MinhSu - Justin's user avatar
0 votes
0 answers
31 views

Does "'electron/renderer'" directory actually exist in Electron 38?

I got the following error when tried to import { contextBridge, ipcRenderer } from "electron/renderer"; to Electron preload. ERROR in ./ElectronPreload.ts 2:0-50 Module not found: Error: Can'...
Takeshi Tokugawa YD's user avatar
1 vote
0 answers
59 views

What are the benefits of Eletron Preload in comparison with "Main Process + Renderer Process" pattern?

When have I used the Electron for the first time, there were only Main Process and Render Process, but the inter-process communication was available. Recently I started to use the Electron again, and ...
Takeshi Tokugawa YD's user avatar
0 votes
0 answers
34 views

Rocket.Chat electron does not show custom notification

I have a self-hosted version of rocket.chat and I tried to slightly change it in both server and electron, and I faced a problem. The change I made is inside the notification module, and a function ...
Sajad's user avatar
  • 36
-1 votes
1 answer
63 views

Onbeforeunload event with Electron doesn't work [closed]

I have a webapp that should work with standard browsers and with an electron client. I need to prevend that user left the page before saving his works on the web page. Then I added this code: window....
Tobia's user avatar
  • 9,585
2 votes
0 answers
44 views

Electron app loading local React bundle - DOM never hydrates despite JS execution

I'm building a cross-platform application (web + desktop) where the React + Vite frontend is hosted on Vercel. While using mainWindow.loadURL('https://example-app.vercel.app') works, it has ...
Brijrajsinh parmar's user avatar
0 votes
0 answers
38 views

[Playwright]: Worker teardown timeout of 380000ms exceeded

I am using Playwright to test an electron based Theia app, I had my test implemented as follows import { test, expect} from "@playwright/test"; import { theiaApp } from "../../../...
Merolla's user avatar
  • 315
1 vote
0 answers
52 views

How to install @nodert-win10-rs4/windows.devices.geolocation in Node 18 / Electron 29 with Cordova-Electron on Windows?

I’m working on a Cordova-Electron project where I need to access the Windows native geolocation API (WinRT) instead of using Google’s geolocation provider. Environment details: Node.js: 18.20.x ...
Annonymous's user avatar
1 vote
0 answers
55 views

Electron production Build with angular 20

I got an Angular/Electron app. The app runs fine when I load a URL for the Electron window. But when I go to production, I want to load the files from the Angular build. So the app would also run ...
Dennis Bacher's user avatar
1 vote
0 answers
24 views

Auto-update not installing after quit and reopen on macOS 13 Ventura (Electron)

Environment Electron: 25.x (tested) electron-builder / electron-updater: tested with electron-builder 23.x / electron-updater (versions may vary) macOS: 13.x Ventura Relevant code (main process/...
Dhilip Kumar's user avatar

15 30 50 per page
1
2 3 4 5
1025
Morty Proxy This is a proxified and sanitized view of the page, visit original site.