Skip to content
Advertisement

Tag: electron

Vue Devtools Not Loading With Vue Electron Builder

I’m creating an Electron / Vue application, and I cannot get the Vue Devtools to load in the Electron app window. This is my first time using Electron with Vue, and I’m not sure if there’s a dependency issue that I’m not aware of. I came across this Github issue, but my versions of Electron and vue-cli-plugin-electron are higher, and

using npm module in renderer process of electron

I have installed Buffer module via npm install Buffer on my machine and I want to simply import it to the renderer process to use the Buffer When I use this: it says require is undefined. None of the solutions on Stack Overflow are working. Answer Make sure you have nodeIntegration in your BrowserWindow settings set to true and contextIsolation

CSS variable won’t get set | Electron

I’m currently having an issue with CSS variables not being set, I’m using electron and im trying to set it like this: And i’ve my variables defined like so: The color is printed, but the variable is not being set. I’ve seen ‘BlinkFeatures’ and i’ve enabled those too, i still can’t get it to work. Anyone know what’s going on?

NODEJS: Return array of arrays from dialog openDirectory

I am working in a electron desktop app, and what I need to do is: Open a directory using ‘dialog.showOpenDialog’. Filter the files by their extension. Read filtered files (they have no header). Parse them into columns and return only columns 4 and 6 (coordinates). Return an array of arrays of all the files (Output example at the end). With

Electron, contextIsolation and contextBridge

I recently had to revamp an old Electron app. I found out that it had contextIsolation set to false, so I went ahead and set it to true (and btw set nodeIntegration to false). As expected, it broke the ipc communications So I used, as advised in many places, a preload script that enables some communications channels Here is my

Take desktop screenshot with Electron

I am using Electron to create a Windows application that creates a fullscreen transparent overlay window. The purpose of this overlay is to: take a screenshot of the entire screen (not the overlay itself which is transparent, but the screen ‘underneath’), process this image by sending the image as a byte stream to my python server, and draw some things

My app doesn’t close on button, electron.js

I have this electron.js app and I would like the application to close when I click on the text with class closer. Here is my code: HTML main.js initialization electron closer.js My problem is that clicking the button, doesn’t work. What should I do? Answer I think you can do it with a loop like this.

Advertisement