All Questions
10
questions
2
votes
0
answers
1k
views
How to fix the electron app window size in different display resolution
My laptop resolution: 1920 x 1080
1st monitor: 3840 x 1260
2nd monitor: 2560 x 1440
I created an login app in electron. I set the size for the app
In index.html
body {
width: 453px;
height: 518px;
...
1
vote
1
answer
721
views
How to load multiple preload.js files in Electron
How to export preload1, preload2, preload3 and introduce them into index?
index.ts
const test1 = require("./preload1")
const test2 = require("./preload2")
const test3 = require(&...
-1
votes
1
answer
105
views
require('child_process'); give error Electron
I've been smashing my head on this for the last couple days.
I keep getting this error but don't know how to fix it. All the fixes I've found online don't work.
And yes it is compiling from TS to JS.
...
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 ...
1
vote
1
answer
446
views
Show text field (not input field) as type password in Angular
I am using Angular 8 for my Angular-Electron application. I have a field as API-Key stored in a tabular format which is quite sensitive and needs to be shown to user on user's account page. The ...
0
votes
1
answer
1k
views
How can I create a live-updating bound text input in Angular?
I am creating a native app with angular and electron, and right now I am trying to get the user to chose a path for creating a folder. I have two separate text boxes, one for the name of the folder ...
0
votes
3
answers
3k
views
How can I set focus on an html control in electron framework?
I am trying to set focus on a control in Electron when the initial BrowserWindow loads.
I know there are alternative ways to do this through jQuery, JavaScript, etc, but is there something specific ...
0
votes
1
answer
479
views
MouseLeave fires on child Elements in Electron
I am handling mouse hover events using the following HTML template and script. My app is written using AngularJS and hosted in Electron.
HTML:
<div id="controlArea"
(mouseenter) = "...
2
votes
1
answer
251
views
Angular2 rc5 and Electron Error - Cannot resolve component using
I learning how to use angular2 with electron.Currently i am using the the latest angular rc5 and the latest version of electron.I decided to use the official angular tutorial (Tour of heroes). I had ...
0
votes
2
answers
457
views
Move file from src to dest using HTML FIleSystem API
This is a very simple question, but is giving me a lot of trouble. I want to move a file from origin to destination in my local file system.
I'm using HTML5 FileSystem API. This is my code:
// Note:...