Skip to main content

All Questions

0 votes
1 answer
85 views

Having issues with electron-builder when using extraResources and extraFiles

Environment: node --version: v18.19.1 package.json: "dependencies": { "@electron/remote": "^2.1.2", "@voerkai18n/runtime": "^2.1.5", "@voerkai18n/...
胡张驰's user avatar
0 votes
1 answer
143 views

Electron JS/Vue Router Packing Not Working with Electron Builder

Hi I have been trying to trouble shoot this problem for hours and can't figure out a solution. I created an Electron App using Vue 3 Composition and now I am trying to use Electron Builder to package ...
Ali's user avatar
  • 33
0 votes
0 answers
297 views

Stop Auto Hide Menu Bar (Electron on Mac)

How can you make sure that the menu bar stays active when a BrowserWindow in Electron is visible? Case Explanation: Once you click on my Tray icon, a BrowserWindow is opened with some HTML. Once the ...
user2500558's user avatar
0 votes
0 answers
189 views

Is there a way to call a function in contextBridge, that won't be read in renderer.js, from main.js in electron?

I hope you are having a good morning. I was wondering if there was a way to call a regular function in contextBridge in preload.js from main.js that will not be read by renderer.js. For example when ...
Ryan Johnson's user avatar
0 votes
1 answer
457 views

Trouble importing electron-updater

I have trouble integrating electron-updater into my project. I'm working on a windows system. First I install electron-updater (via npm or yarn) which works without problems. Then I load the package ...
fseydel's user avatar
  • 175
0 votes
1 answer
852 views

electronBuilder can't bundle my resource at all

It's my vue.config.js: module.exports = { pluginOptions: { electronBuilder: { preload: './src/preload.js', extraResources: ['resources/myengine'], ...
A1Gard's user avatar
  • 4,148
1 vote
0 answers
120 views

electronjs camera not found on raspiberry pi

So I created an electron app that will open a camera ang scan a QR code, this is the plugin that I'm using https://github.com/schmich/instascan. The html files was done using Vue and tested the output ...
Juliver Galleto's user avatar
0 votes
2 answers
607 views

Electron build failed

Electron build failed. Error: Cannot find module 'fs/promises' Require stack: /Users/abhimatta/Documents/abhishek/accura-electron-dev/node_modules/builder-util/out/fs.js /Users/abhimatta/Documents/...
Abhishek Matta's user avatar
1 vote
1 answer
2k views

My window in Electron doesn't appear no matter what I do, there is something wrong with my code?

Firstly I'm using Vuejs and Electron, the package.json will be in the end of this post. I'm trying to use this listener to show my window as the Electron's documentation recommend. win.once("...
Lucas Guimaraes's user avatar
1 vote
1 answer
4k views

How to set application icon in eletron-vue js

I am working with electron-vue js for building cross platform desktop app. I want to set custom icon when i make build file and want to add product name on app. But when i set custom icon, it work ...
Ahsan farooq's user avatar
0 votes
1 answer
5k views

npm run build: ValidationError: Invalid options object. Copy Plugin

I'm trying to package an electron app but I'm getting this error: ValidationError: Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema. ...
SRR's user avatar
  • 1,730
5 votes
1 answer
2k views

Mac application asking for accessibility permission repeatedly

I have created a Mac application written in electron-vue. It requires keyboard access and screen recording access. Ideally, when I give permission it should start working immediately. But my app ...
Pramod's user avatar
  • 806
1 vote
0 answers
148 views

Nightmarejs with Electron Proxies

I've been trying to use nightmarejs in my electron-vue project. In dev everything worked fine, but after building, I would always get an error message. Luckily, I found this package which is a replica ...
Tom Lamensia's user avatar
0 votes
1 answer
241 views

I've a project created with VUE CLI and I've installed vue-electron-builder plugin

I've a vue project created with vue cli 3 and I've installed vue-electron-builder plugin to make electron app with vuejs. Now I've an existing electron app and I want to move the files from the ...
Abdulrahman Fawzy's user avatar
0 votes
1 answer
167 views

why electron builder dont include files

I try to include lokiJS (locla json database) to my vue-electron app from a vue-cli-plugin-electron-builder!. src/db/db.js const path = require('path') import * as loki from 'lokijs'; const dbPath =...
Vin's user avatar
  • 143

15 30 50 per page