Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

How to Use koffi with Struct Pointers

#pragma pack(1) struct EnvInfo { DWORD dwSize; WCHAR wszAppId[128]; ULONGLONG u64Qid; }; extern "C" int __stdcall SDK360_Init(const EnvInfo* pEnvInfo); this c++ code const envInfo = ...
jianjun wang's user avatar
0 votes
0 answers
8 views

Electron forge wix maker & electron-updater

i've application that can run and update whenever new version released without no issue using squirrel build in electron forge. also it will update application automatically based on URL i've ...
Riki Ahmad's user avatar
0 votes
0 answers
19 views

Electron build incorrect (missing icon and code)

UPDATED: I replaced --arch=ia32 to --arch=x64 and now it works. I turned half the Internet over in search of a solution to the problem and the solutions that I found did not help me. When testing the ...
user1010101010101010's user avatar
0 votes
0 answers
24 views

How to get URL of the current active window (linux ubuntu)

Using the x-win library which gives me the app name, title, icon and URL. But URL is only available for windows and macos. In Ubuntu (x11), have tried tools like xprop, xdotool and xwininfo but none ...
Abhishek's user avatar
0 votes
0 answers
17 views

Chromedriver is not working in some of my clients laptop. but it work for many

I have a bot written in selenium and wraped up in electron js, in somesystem it works fine but in somesystem it fails to run, i try to dignose and cometo know that in some system it failed to download ...
shekhar tyagi's user avatar
0 votes
0 answers
8 views

Use globalShortCut to listen to key combination without overwriting system behaviour

Not much of a coder anymore nowadays and new to electron so hoping you can point me in the right direction. Trying to replicate the deepl translation desktop interaction with Electron. When a user ...
Bartezz's user avatar
  • 474
0 votes
1 answer
31 views

Fileystem API showDirectoryPicker() permanently broken if user doesn't choose a directory in Electron

This issue occurs in the latest version of Electron, but not in Chromium outside of Electron. The following example code uses the Filesystem API's showDirectoryPicker method to open a directory-picker ...
twhitney's user avatar
  • 325
-1 votes
1 answer
32 views

Where is 'new BrowserWindow()' in Angular Electron application

I try to rewrite some apps to Electron (with Angular), but first question I faced is - "where is new BrowserWindow" function? I need modify this function, for example change "...
Viacheslav's user avatar
  • 1,310
0 votes
0 answers
33 views

How to fix incorrect import paths in Electron app compiled with Vite externals?

I have an Electron application using TypeScript, Vite, and React. Inside the app the code is divided into two folders. In the src/electron folder, I have all the Electron-related code, and it is ...
papakukito's user avatar
0 votes
0 answers
23 views

Electron Update : Uncaught ReferenceError: global is not defined

We are trying to update node from 12 to 20 and electron version from 11 to 31. I have an Electron based application. we do webpack in the render process. It throws error when I run the app after ...
Mohan Krishna's user avatar
1 vote
0 answers
26 views

Electron ready event fire Twice?

I'm building an electron app and when testing the app i wnated to minify the main.js using UglifyJS and the ready event in the minified version fire twice for some reason, the main code is fine when i ...
benz's user avatar
  • 11
0 votes
0 answers
23 views

Electron NSIS application install/update issue with custom install script

My electron application uses electron-builder to make NSIS for which i have created a custom install and uninstall script. Now when installing the application, i install and start some services and ...
Akshat Parashar's user avatar
0 votes
1 answer
19 views

Code Signing using Electron Forge for Windows

I want to code sign my electron application using sectigo EV USB which is using electron forge to package the app and wix-msi maker. After referring to wix-msi config options I was able to make use of ...
Akshat Parashar's user avatar
-1 votes
1 answer
13 views

ipcmain.handle parameter has metadata(?) instead of value

I am a beginner to electron and my app does nothing more than unpack a zip and start a .bat file (it's an installer) i need the user to give a url to a database but when it returns i get in ipcMain: {&...
WoutNerd's user avatar
0 votes
1 answer
17 views

Electron BrowserWindow disable zoom

how can I disable zoom for an electron app? I tried this snippet but it does not work. I can still zoom content with CMD+/- . Do i need to disable anything else? const win = new BrowserWindow({ ...
instantlink's user avatar
0 votes
0 answers
12 views

AntD tabs component: changing value inside of react component from another file

File Structure: -Assets |-TabHandler.jsx App.jsx Ok, I have a react component TabHandler, this is a tabs component from Ant Design: /* Assets/TabHandler.jsx */ import React from 'react'; import { Tabs ...
Luna's user avatar
  • 1
0 votes
0 answers
20 views

Electron app process is named after app description

When making an Electron based desktop app for Windows, I noticed that upon building it with electron-builder and launching the executable (portable), the process name in Task Manager is the app's ...
MfyDev's user avatar
  • 510
0 votes
0 answers
14 views

"Cannot use import statement outside a module" in Vue-Cli+electron+electron-builder

I'm using Vue3(use vue cli to init), typescript, and electron-builder to develop a simple electron app. The npm run electron:serve works correctly. I successfully export the .exe file, but when I ...
Kevin W's user avatar
1 vote
1 answer
22 views

Electron app installation is finished, but it doesn't prompt anything after that [closed]

i've electron app that bundled using electron forge. By the way this app can run locally without no issue, i'm so confused. even when i run the win32-x64 it got no issue. But whenever i install the ...
Riki Ahmad's user avatar
0 votes
0 answers
21 views

Node module compiled against different node version error when extending an existing electron app

I am extending an existing electron app. I have started a framework using the documentation here: https://www.electronjs.org/fr/docs/latest/tutorial/Construire%20votre%20Premi%C3%A8re%20App I then ...
KevinHJ's user avatar
  • 1,072
0 votes
0 answers
7 views

Window is throwing error pop window for couple of seconds on launching of electron window

When I am launching electron window it is throwing warning message in the pop window as below screen shot to wait with below error in the terminal. This pop is staying on the window for couple of ...
Rohit's user avatar
  • 450
-1 votes
0 answers
23 views

Struggling with OAuth in an Electron + React App – Need Guidance

I'm currently developing an Electron app using React and running into some trouble implementing OAuth. Here’s where I’m at: I understand that I need to initiate the OAuth flow and handle the callback ...
Kamolas81's user avatar
  • 547
0 votes
0 answers
15 views

Flickering issue in electronjs window at the time of launching when initial value of show is false [closed]

I have a requirement in electron JS where I have to launch the browser window in two monitors. In one monitor, I am rendering html file while another window is blank(just electron window without any ...
Rohit's user avatar
  • 450
0 votes
0 answers
14 views

Reset all the settings of an Electron-based app

My Electron app has a menu to Reset All of its settings. I do this by calling fs.rmSync(app.getPath('userData'), { recursive: true }) and it's working fine when it comes to, for instance, the position ...
Alan Garny's user avatar
-1 votes
0 answers
22 views

React: Function call Working when called using UI component but not using Keyboard shortcut

I am building a React application where a MenuBar component has both UI buttons and keyboard shortcuts to trigger file-saving functions (Ctrl+S for Save, Ctrl+Shift+S for Save As). The saveFile ...
Siva A's user avatar
  • 19
0 votes
0 answers
11 views

Electron : Can I read Personal user certificate in Windows certificate Store?

I'm begin to electron. I have a esignature website. Electronic signing can be done with signings keys (EIDAS) and self-signed certificate who are stored in the personal store of the local user in ...
Sparadrus Ier's user avatar
-2 votes
0 answers
18 views

Cannot resolve 'fs' in project directory/node_modules/electron

I am building a project with react js and electron combined. In that project I am getting this error. There are other solutions in stack overflow suggesting to make changes in webpack.config.js file ...
Sayen Dutta's user avatar
0 votes
0 answers
21 views

Android to Electronjs communication

I'm new to both Kotlin and Electronjs, I want to allow my users to control certain features in the desktop app from their phones so I was thinking about how would i go about communication, I'm ...
Hard Tour Vela's user avatar
0 votes
0 answers
51 views

Failed to rebuild and start electron app using nodejs v18.20.3

i've electron app that currently running using elecron forge. the issue is appear whenever i tried to start the project using command npm run start It will not working, if i have dependencies on ...
Riki Ahmad's user avatar
0 votes
0 answers
9 views

process.argv get undefined in the prod build and sometimes during the dev in my electron react app

out of nowhere my process.argv are returning undefined in my react electron app and I am using electron builder I have tried debugging and I am unable to solve it. If more context is needed please ...
Raghav Sharma's user avatar
0 votes
0 answers
22 views

Is there any textbox available which could work like a free textbox and also work as dropdown list in node.js or jQuery [duplicate]

I want to show options on mouse click in textbox like a dropdown list. And also I could enter my own text in free textbox (If option is not showing into the listing) using node.js or jQuery. dropdown ...
jsr india's user avatar
0 votes
0 answers
29 views

Cordova electrong app ignore "build": { "nsis": { "include": "uninstaller.nsh" } }, when uninstall app

I have cordova electron app on the package.json I have added build section "build": { "nsis": { "include": "uninstaller.nsh" } }, ...
WOG's user avatar
  • 1
-1 votes
0 answers
38 views

Unable to load preload script: Resources/app.asar/src/renderer.js

My preload is named renderer.js I have an electron app that I compiled using Electron Builder, my app features numerous HTML pages, most of them get redirected from button clicks. When I click a ...
ignshifts's user avatar
1 vote
2 answers
33 views

how Menu should be imported correctly in `preload`?

Under the preload/index.ts directory: I imported {Menu} from "electron"; however, when I printed Menu, it turned out to be undefined. import { Menu, ipcRenderer } from 'electron'; console....
qg_java_17137's user avatar
1 vote
0 answers
17 views

Add Web Components to Electron with the preload script and context isolation

Add Web Components to an Electron with the preload script and context isolation Problem I'm trying to implement complex Web Components in my Electron application with the preload script. Context ...
Ruderer's user avatar
  • 365
0 votes
0 answers
16 views

Map() data is getting lost

The stored data in export let connectedDevices = new Map(); in a renderer.js is lost after few activities in the app. we are basically storing HID devices in this Map and using it further, after a ...
Anees Shaik's user avatar
0 votes
0 answers
13 views

Why does npm run electron:serve fail to render the app in localhost?

I have an Electron + Vue project, and I’m trying to run the application using the localhost URL (http://localhost:8080/) in Chrome. However, the app doesn't render and throws the following error ...
user28486876's user avatar
0 votes
0 answers
16 views

macOS App Asset Validation Failed: Invalid Code Signing and Architecture Issues

I am trying to submit my macOS app to the App Store, but I am encountering multiple asset validation errors. Below are the issues: Code Signing Errors (90284): Many files in my app bundle, including ...
i don't know's user avatar
2 votes
0 answers
54 views

"Cannot access file" in ES module, that I could with CommonJS module (Electron JS app)

I'm building a desktop app using ElectronJS, which reads content of pre-existing XLSX files. I first created the app as a CommonJS module. Here's the minimal reproducible example code: const path = ...
Aristocrates's user avatar
0 votes
0 answers
9 views

electron-builder nsis installer have missing data

I am trying build nsis installer for my electron application using following build code, i creates executable file/project perfectly. The total project size is ~13gb (because it have python ...
SWIK's user avatar
  • 862
0 votes
0 answers
47 views

Source maps not generating in production

I am able to see the source maps when I run the application locally i.e "npm start". Even it points to the exact line of exception. But when I run "npm run make" and open the myApp....
JRV's user avatar
  • 21
0 votes
0 answers
25 views

How to properly kill python process spawned by electron app?

I’m developing an Electron app that uses a Python executable as a backend server. The Python backend is spawned using child_process.spawn. While the app works fine most of the time, I’ve noticed that ...
Steven's user avatar
  • 1
0 votes
0 answers
12 views

ScrollTo fails with more that 40 index items

I have a scroll based fetch by incrementing the page number when the last index item in the array reaches the bounds of the window on the x axis. This all works fine. It works for drag scroll and key ...
Michael May's user avatar
0 votes
0 answers
38 views

Having An issue about calling Gemini API in Electron Js

I am having an issue with gemini API in electron js in this code I'm trying to make chatbot which remembers the previous messages unfortunately I'm getting an Error Message: Uncaught Error: Check ...
Yakup Aktepe's user avatar
0 votes
1 answer
29 views

How does electron-forge/publisher-github work?

I have my created my github token and set GITHUB_TOKEN value in my env, but I get to the "distributables" step which is strangely misspelled and then it dies. Its like its looking for a ...
LMS5400's user avatar
  • 492
0 votes
0 answers
11 views

Electron Forge: DMG background not scaling

USING ELECTRON FORGE MAKER DMG The background always stays the same size, no matter its scale, and there seem to be no options to change background size. ORIGINAL BACKGROUND IMAGE: When using the ...
Knotbin's user avatar
  • 39
0 votes
0 answers
30 views

Angular application Reload multiple times how to prevent it

I have an Electron app with Angular when the first time I run the npm start command, it works correctly. However I save changes, the app reloads multiple times. how can i prevent (stop) it i want ...
jay poriya's user avatar
0 votes
1 answer
39 views

fs.watch doesn't return an FSWatcher instance in Electron

I have an Electron React App Where I'm trying to call .close() on the object that I assigned an fs.watch to. But I think Vite, Electron or something is wrapping something around the object returned ...
Fluxian's user avatar
  • 873
0 votes
0 answers
26 views

How do I open a dialog to select a file using Electron?

I'm trying to link a button to opening a dialog to select a file but I'm not succeeding, when I click on the button nothing happens... I expected that clicking the button would open the OS's native ...
Gomaink's user avatar
0 votes
0 answers
32 views

Packaged app throws an error "edge.initializeClrFunc is not a function"

Im using electron-edge-js and a c# dll I made myself. Im packaging my electron app using electron-builder and when I ship this to other devices and run it, i get this error: A JavaScript error ...
ariannnn's user avatar

1
2 3 4 5
311