Skip to main content

All Questions

Tagged with
366 questions with no upvoted or accepted answers
9 votes
0 answers
2k views

HTML input autocomplete not working in Electron

I'm building some SocketIO-related app with Electron and React. The user needs to fill in an address to connect to: <form autoComplete="on" onSubmit={this.onAddressSubmit}> <label ...
i.brod's user avatar
  • 4,443
5 votes
0 answers
286 views

Electron app doesnt launch after modefing app.asar on macOS

So l am trying to modify an electron application. Firstly, I extracted app.asar into a folder then modefed an html file and launched the program. And it worked, my html was applyed to this application....
СТЁПА's user avatar
4 votes
0 answers
431 views

FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye

Trying to setup Electron on my computer, to setup .exe files for my HTML/CSS/JS projects I'm currently developing on Windows and got this: [3088:0525/235414.074:ERROR:gpu_process_host.cc(991)] GPU ...
easr97's user avatar
  • 41
4 votes
1 answer
6k views

Tauri Not allowed to load local resource

I've been using electron for GUI interface development, recently I came across Tauri as electron alternative and coming to realize that the same code works on electron but not Tauri where: <video ...
V Sing's user avatar
  • 41
4 votes
0 answers
415 views

Electron Multi-monitor bug with vibrancy/transparency on MacOS Big Sur

I've noticed what appears to be a bug with the vibrancy effects in Electron, running on MacOS Big Sur... Here's what my window looks like when it first loads: Here's what it looks like if I drag it ...
Matthew Layton's user avatar
4 votes
0 answers
372 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....
Nick's user avatar
  • 2,930
4 votes
1 answer
1k views

Is it possible to build a standalone HTML5 App *without* bundling a browser?

Solutions such as Electron require bundling an entire browser with the resulting .app build, which causes it to have several gigabytes even for a single hello world app. Most users already have Chrome ...
MaiaVictor's user avatar
  • 52.4k
4 votes
0 answers
1k views

How to convert electron app into web app?

I developed an Electron application few weeks ago with the framework AngularJS (used to make the client side). I would like to convert this desktop application to a classic Web App.
Salauddin Shaikh's user avatar
4 votes
0 answers
2k views

What is the proper way to load JavaScript scripts in Atom Shell?

This probably a completely stupid question but I just started working with Atom shell. I have an index.html with a login form. I boostrap the jquery form validation in the document ready like so: $...
jansmolders86's user avatar
3 votes
0 answers
1k views

Electron App Loses Shadow When Set To Transparent

I'm trying to create a window with rounded corners using Electron. I've managed to achieve this by setting the BrowserWindow setting transparent to true, and then creating a div the size of the body ...
Alex's user avatar
  • 51
3 votes
0 answers
92 views

Is it possible to set the target of an anchor tag to a webview tag?

I want to open some links in my HTML in the background. I would like to open them in a hidden webview tag. I have tried to name the webview tag like so <webview id="bgview" name="background-view" &...
neolith's user avatar
  • 789
3 votes
1 answer
494 views

How to execute script code in nested html files?

My script code is not being called when I load the nested HTML in my electron app and I cannot figure out why. <div id="leftsidebar"> </div> <div id="rightsidebar"> &...
A.D's user avatar
  • 187
3 votes
0 answers
354 views

Screenshot from hidden html video element

I am trying to take a screenshot of a hidden element using canvas, but the image source is empty. Here is my screenshot function: function getScreenshot(videoEl) { const canvas = document....
Mans's user avatar
  • 3,211
3 votes
0 answers
2k views

Require and import not working for modules in Electron

I'm trying to build a desktop app for the first time, using the Electron framework, and I'm trying to use the Trilogy module. However, several errors keep popping out. Basically, the main idea of my ...
Yi Chen Chong's user avatar
3 votes
0 answers
1k views

Electron focus() not working in webview

Im trying to set the focus on an element in the webview after it loses his focus <webview src="http://www.example.com/" id="target-view" preload="js/hooker.js" autosize minwidth="100%" minheight="...
Seryoga's user avatar
  • 851

15 30 50 per page
1
2 3 4 5
25