electron Questions

3

Solved

I see this message below my repo name. Is there any way to remove it? I used template for my app for a quick start, but in current form my app doesn't look like this template, because everything ch...
Chong asked 11/3, 2021 at 17:5

4

Solved

I need to download a file to a specific location in my Electron program. I tried implementing this API but failed. Then I tried implementing the official API, but couldn't realize how to actually s...
Cornelius asked 7/9, 2017 at 18:23

23

I can see in this file (https://github.com/ReactTraining/react-router/blob/v0.13.3/modules/createRouter.js) that there is a refresh function but I have no idea how to call it. I'm fairly new to rea...
Corpse asked 18/10, 2017 at 23:24

11

Solved

Using this boilerplate as reference I created an Electron app. It uses webpack to bundle the scripts and express server to host it. Webpack config is practically same as this and server this. Ele...
Allfired asked 8/4, 2016 at 17:7

9

i`ve a problem with electron-builder and the browserWindows preload option in my main.js: // Create the browser window. mainWindow = new BrowserWindow({ x: mainWindowState.x, y: mainWindowState...
Ozmo asked 23/3, 2020 at 13:24

2

Solved

I have created launch.json file exactly as this for debugging my Electron Application on VS Code. But the console.log() not printing anything to the debug console. If I add "console": &qu...

4

electron-forge make results in Error: Could not find any make targets configured for the "win32" platform. with command: PS E:\VStudio\20210417> npm run make2 > [email protect...
Wenz asked 17/4, 2021 at 18:56

2

Solved

So I have an Electron app that uses the web speech API (SpeechRecognition) to take the user's voice, however, it's not working. The code: if ("webkitSpeechRecognition" in window) { let S...

4

Let's say that I'm using a GET request on https://example.com and the response is this: This is a response message. How would I modify it in a way so that in my code, so that it can change the res...
Anny asked 6/11, 2022 at 19:32

5

I'm trying to create a windows app with electron + react + vite, which is extremely faster and smaller. But I'm having problems compiling with electron-builder. you can see entire code here... http...
Ardoin asked 28/8, 2022 at 12:12

6

Solved

I'm trying to use Node modules (in this example, fs) in my renderer processes, like this: // main_window.js const fs = require('fs') function action() { console.log(fs) } Note: The action func...
Nadiya asked 5/9, 2019 at 14:14

6

As node.js still lacks important functionality which exists in Java, I would like to use Java instead of node.js, and create the client using a web language (html, js, css..). Electron is cross pl...
Puncture asked 11/8, 2017 at 15:19

26

Solved

I am creating a simple form to upload file using electron-react-boilerplate with redux form & material ui. The problem is that I do not know how to create input file field because material ui ...
Pahlavi asked 14/11, 2016 at 12:54

5

I was developing a desktop app using React with Electron js. This is the scenario: When a button is clicked, I want to close the window. Therefore I am using the @electron/remote package. I have in...
Geneva asked 18/9, 2021 at 9:40

4

Solved

In an Electron application, what is the standard way to navigate to different pages / locations when a link is clicked? I tried creating <a href="/profile.html>profile</a> and an H...
Merridie asked 1/8, 2015 at 19:32

7

I'm building an electron app and need to call APIs where the API provider has not enabled CORS. The typically proposed solution is to use a reverse proxy which is trivial to do when running locally...
Homecoming asked 9/7, 2018 at 22:0

1

I have an electron.js application where I am trying to clear the local storage of the application on uninstalling the application. The application's installer/uninstaller depends Squirrel.Windows. ...
Unbidden asked 9/2, 2017 at 5:20

17

Solved

Evening, I'm looking into using electron to package an existing angular2 build. I thought I had a dry run working but the actual packaging seems to be failing (see final step below) and I want to u...
Vary asked 13/12, 2016 at 21:38

4

Solved

The desktopCapturer api example shows how to write a screen capture stream to a <video> element. // In the renderer process. var desktopCapturer = require('electron').desktopCapturer; deskt...
Sepulchral asked 20/4, 2016 at 19:24

18

Solved

How do I remove this menu-bar from my electron apps: Also it says "Hello World"(is this because I downloaded electron pre-built, and will go away once I package the application?). I didn't code ...
Tortoise asked 23/8, 2016 at 3:41

3

Solved

Unable to use any electron or node related operations in electron . Getting error process not defined. I Checked at various places they guide to add node Support but that is already Done so stucked...
Alla asked 3/3, 2021 at 10:35

1

I have an existing Electron APP with hand coded HTML all over the place and a lot of copy pasted code. I would like to slowly integrate VUE to reduce the copy pasted components. All the articles I ...
Sirajuddaula asked 6/3, 2022 at 16:45

3

Solved

I have an electron project when I need to get electron to read a local file. Right now what I have is this, where it loads and displays the contents of a html file. I just need it to read a file ...
Whitish asked 1/5, 2017 at 16:17

5

I need my Electron app to respond to the user becoming idle (no mouse or keyboard inputs to any program on the OS) for a certain amount of time. How can I trigger a function based on such idle tim...
Lunn asked 28/10, 2015 at 18:8

3

Solved

I've dug myself into a deep rabbit hole trying to find out what the title says. If you're confused about what this question is, I'll give a more detailed explanation: Have you ever seen the VSCode ...
Aldehyde asked 13/8, 2020 at 7:26

© 2022 - 2024 — McMap. All rights reserved.