Category "electron"

Electron cache images and then read it when the image is used

When electron starts, the cache images is read, and then read it when the image is used. i can save images in main process. fetch(`${server_host_ip}${image}`)

Electron not starting properly due to SIGTRAP

I am getting into Electron to try to begin building desktop applications. I am running into this error: /home/me/dev/my-electron-app-2/node_modules/electron/dis

How to open a link in default browser in an electron app

I want to know how to open a web link in the default browser when clicked on a button in an electron app. Can anyone help me?

Upload speed testing function behaves differently when I call it from electron GUI

I've wrote a simple function to measure the upload speed of my network, which when run inside vscode terminal behaves just fine and displays the expected result

How set up a project with nextjs and SQLite3 in electron?

This is the first time with electron, i found a repo called nextron on github, but there are no examples with SQLite3. Do you have a boilerplate? How can i reac

Electron desktopCapturer for MacOS

I need to stream audio in my electron app from the macOS, however, I have hit the following limitation. This is from the electron documentation: https://www.ele

React Components Rendering Error in Electron-React-Boilerplate

Good Afternoon all, I built a React.js web music-player application a while ago, and now I am transforming my old react application into a downloadable des

Why does electron-builder include my whole project folder in app.asar?

When I extract the app.asar inside the builded Mac app with: npx asar extract app.asar destfolder I can see that it includes mostly everything which is in my p

Return not waiting for if condition

any one can help me.. I am developing a small project in Electron js. as a beginner I could not find any solution for this issue. I have search a lot similar pr

Typegoose not working with vuetify in electron

Im trying to build a very simple model with typegoose inside Vue + electron. This is my simplified code: import { getModelForClass, prop, modelOptions } fro

Electron Remote process with user input width and height not working

I am having a problem with using remote windows in electron I am trying to process user input ans use that input to create a new window with a certain width and

Import Javascript file into Electron loadURL

I was wondering how could I import a javascript file into a website with Electron? By that I mean: mainWindow.loadURL("https://a.website"); mainWindow.loadScrip

Executing a bash script from Electron app

I am trying to execute bash script within Electron index.html button click. Here's my code which index.html calling renderer.js, and renderer.js opens the bash

Html ReferenceError: document is not defined

My error = ReferenceError: document is not defined document.getElementsByClassName("text_status").innerHTML = 'hello' I am trying to change the text of an elem

The edge module has not been pre-compiled for node.js version v14.18.1. You must build a custom version of edge.node. getting this error

{ "name": "electron-js", "version": "0.0.0", "description": "ElectronJs", "main": "app.js", "scripts": { "start": "electron ." }, "author": { "name": "Ralph" },

Make electron app oneClick for updates but not for first installation

I'm trying to update my electron app on windows with electron-updater. It all works except when the updater is running, it first asks the users where does he wa

Button click event binding in playwright function in a new window electron js

I am new to electron and other front-end technologies. I am trying to implement a desktop app using electron. In this app on clicking a button "Run Playwright"

Electron App : Unable to load preload script

Been getting this error every time I start up my electron app. electron/js2c/renderer_init.js:91 Unable to load preload script: C:\Users\Desktop\Projects\Electr

Create a VSCode style menu in electron

I am exploring electron for the past week and I come across a question about how can I create a costume menu in Electron just like VSCode does have it. Just lik

Data table Print, pdf EXPORT and CSV NOT WORKING IN Electron app

I am developing an Electron js application and new in data table. i have added print and export option on my script. unfortunately blank popup screen showing wh