All Questions
14
questions
0
votes
0
answers
41
views
"Failed to load resource: net::ERR_FILE_NOT_FOUND" Electron
Resource of CalHeatmap not found when testing app in Electron. I check on my vscode that clicked new CalHeatmap(); will jump into the source file, so it should be work, but when try to npm start the ...
0
votes
0
answers
26
views
Flask Electron HTML
I am currently working on a project using Flask as backend and a HTML file as frontend. Trying to use electron for turning it into an exe, I faced some difficulties: I need to run my Flask with the ...
-1
votes
1
answer
71
views
How to create an app on ElectronJS which after button click it logs out "Hello world!" in console?
Help me please!
Everything you can imagine and everything out of human imagination.
Here is html:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<...
1
vote
0
answers
26
views
How can I get open/save dialog to work on Electron v19?
I am quite new to Electron and am trying to make a note app where you can save and open note files. I am trying to set up a page where you can open a file. I have been following a few tutorials, but ...
1
vote
1
answer
44
views
Electron app can't display image from oepnweatheramp api link
This is my code that is used to generate icon code from OpenWeatherMap API
fetch(
"https://api.openweathermap.org/data/2.5/weather?q=" +
name +
"&appid=" +
...
0
votes
0
answers
486
views
Display content of large text file in textarea using Nodejs
Hellow everyone,
Since few times I try to display the content of a pretty large text file (~500 Mb to 1 Gb) in a HTML textarea, to be able in the futur to filter the content and search more fast the ...
1
vote
2
answers
5k
views
JQuery not working with electron framework
I'm trying to using jquery with electron framework using electron fiddle.
However jquery seems not working properly and animation are not executed.
The example is the following: https://www.w3schools....
0
votes
0
answers
218
views
Is there a reason my javascript file is not recognized?
index.js:
const { app, BrowserWindow } = require('electron');
const path = require('path');
// Handle creating/removing shortcuts on Windows when installing/uninstalling.
if (require('electron-...
0
votes
1
answer
703
views
copy selected file from an input on electron app form
I have this form
<form>
<input type="file" name="idp" id="idp" onchange="uploadFiles();"/>
</form>
When the user chooses a picture I need to copy it to a specified folder and ...
12
votes
4
answers
7k
views
Transparent Windows on Linux (Electron)
Using the transparent argument and setting it to true when creating a new BrowserWindow in Electron usually gives the window a transparent background... But on Linux that isn't the case for my ...
3
votes
1
answer
339
views
Electron: Disable Paste on Windows
I am using Electron and I'm trying to disable the ability for users to paste into editable content. I'm also keeping paste and match style enabled. This works great on Mac, but for some reason on ...
4
votes
0
answers
375
views
Use CSS framework through npm in Electron application
I have installed bulma through npm in my electron project as a dependency. However, I am forced to do something like this:
<link rel="stylesheet" type="text/css" href="node_modules/bulma/css/bulma....
0
votes
1
answer
586
views
Facial Recognition using election framework [closed]
Is it possible to code for facial recognition program in electron framework. I understand code will be in .html and .js, I looked for all the tutorials and have been doing my research on this topic ...
12
votes
2
answers
11k
views
Can you use absolute paths in Electron?
Simple question here that I can't seem to find a straight answer for.
Is there any way to use absolute paths for dependencies (e.g. <script src="/my-script.js"></script>) with electron ...