15,275 questions
Score of -2
0 answers
31 views
how do i fix Electron pos app printing labels layout issue each label got marign in top and some labels are blank? [closed]
I am experiencing a persistent issue with my Xprinter T202UA label printer. No matter which printing approach or method I use, the printer does not maintain a consistent label layout.
I am developing ...
Advice
0
votes
0
replies
66
views
Whatsapp Automation on React + Electron Application
I need a quick suggestion from you guys, I am currently working on a react + electron desktop application. In that i need to automate messages from that app to whatsapp. Is there any suggestions.
I ...
Score of -1
0 answers
74 views
Electron.js + React + Go (Fiber) build issue: React UI blank screen when backend is bundled, but works when running backend separately
I am building a desktop application using Electron.js with a React frontend and a Go (Fiber) backend.
During development (npm run dev), everything works perfectly. However, I am facing an issue when ...
Best practices
1
vote
1
replies
83
views
Safe unified channel messaging in Electron
Most examples for how to write the contextBridge.exposeInMainWorld message handling in Electron's preload.js script list one specific function name for each message, e.g. openFile. I find it more ...
Score of -2
1 answer
87 views
Checking menu items fails in Electron
The code example below for a main.js Electron file successfully changes the item label of the one item in menu Menu upon item click, but not its checked status when run in Electron Fiddle. As can be ...
Score of 0
0 answers
381 views
How do I fix the enoent error when I start Electron in my VS Code terminal?
I have a problem with Electron start in my VS Code. By following installation guide I install the electron but have a problem with first start. When I trying to run npm run dev:electron I've got that ...
Score of 0
0 answers
89 views
Desktop application installer closing silently
I use electron to convert my python-flask web application into a Desktop application. As installer, I use NSIS electron builder with a custom nsis script for the customer details page.
The issue is ...
Score of 1
1 answer
72 views
Electron IPC response is undefined
I'm new to Electron, I'm learning how IPC works. Let me show you my code:
preload.js
import { contextBridge, ipcRenderer } from 'electron'
contextBridge.exposeInMainWorld('myApi', {
performAction(...
Advice
0
votes
1
replies
69
views
Merging and detaching tabs in Electron.js app
When I working on a project that requires multiple windows, I use the BrowserWindow() method of Electron for doing this.
My code of making the windows:
const { app, BrowserWindow, screen, ipcMain} = ...
Score of 2
0 answers
88 views
Electron Builder packaged app throws Cannot find module '.prisma/client/default' (Prisma + Electron + ASAR issue)
I am building a desktop application using:
Electron ^28.0.0
electron-builder ^24.9.0
Prisma ^5.8.0
Vue 3 + TypeScript
During development (electron .) everything works correctly.
However, after ...
Best practices
0
votes
0
replies
45
views
How should I handle nest npm libraries in my npm package?
I would like to create an npm library for a base electron client where consumer projects use the same shared main process/renderer/preload. And currently exposing a defineConfigs function that ...
Score of -1
1 answer
164 views
Calling FindWindowW("Progman", "Program Manager") always returns a null handle
I'm using the koffi library to call Win32 APIs from TypeScript. However, I'm stuck at the very first step: FindWindowW consistently returns 0 (NULL), indicating that the Progman window cannot be found....
Score of 1
0 answers
93 views
Crash in Napi::Function::New(env, FunctionName) call
I am working on an Electron project with node-api (for C++ addons). The app crashes, even after a full-build. The problem that I am facing occurs within the C++ template addon that I have made.
I have ...
Score of 2
0 answers
99 views
How to programatically start a drag for an Electron app on X11
I've been trying to reimplement electron-click-drag-plugin for the needs of my Electron app. But I hit a hard wall when implementing it for X11. I've successfully sent the EWMH event, but it doesn't ...
Best practices
0
votes
1
replies
118
views
55% thorught Elecctron want to create specific for mobile
im a fresher Bscit student creating an managment tool application , for a company using antigravity, in halfway through the application but when i was looking for deployement , noticed electron in ...