Questions tagged [electron-window]

9 questions
2
votes
0 answers

Electron interceptBufferProtocol proxying requests does not work

Using interceptBufferProtocol, I can successfully intercept the loadURL event to https://google.com mainWindow.loadURL("https://google.com/"); and replace it with my custom HTML code. The HTML code has an iframe which I am trying to proxy. This can…
Jeff
  • 170
  • 2
  • 5
  • 19
2
votes
0 answers

(node:15864) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'match' of undefined

when I run the below command to convert exe to appx, we faced below error: Command electron-windows-store --input-directory --output-directory --package-version “0.0.1” --package-name…
PHP dev
  • 410
  • 1
  • 7
  • 23
2
votes
0 answers

Access parent window's 'window' object from child window - Electron

Is there any way to access the parent window's window object from the child windows. I want to duplicate the content in the parent window to the child windows with a single remote connection for all windows.
yashodha_h
  • 944
  • 3
  • 9
  • 23
1
vote
0 answers

How to catch 503 error with window.loadURL() in electron?

I am trying to load my angular ui running on https://localhost:4200/index.html page in electron. To achieve this, I am using below code to load the URL: Window.loadURL("https://localhost:443/myapp/index.html") I am able to catch the exception if…
Rohit
  • 406
  • 1
  • 5
  • 21
1
vote
1 answer

Error: Object has been destroyed when trying to re-open a second BrowserWindow - Electron.js

In an electron-react-typescript app I use a button in the mainwindow to open a new window. If I close this second window clicking on the 'x' on the top-tight corner, when clicking the button in the mainwindow I get this message: "Error invoking…
Raphael10
  • 2,508
  • 7
  • 22
  • 50
1
vote
0 answers

Electron windows installer Need to call batch file in between the installation and upon completion continue with the installation

Windows-installer package for electron(link) I want to create the installer which can copy content. For the specific case I want to run a batch file which will copy content. Upon completion of the content copy the installer next should continue…
0
votes
1 answer

Hide website elements on a window App created with electron

I have successfully converted my website to windows app via nativefier 'mywebsite.com' how do I hide some of website elements such as header from my windows App. Regards
0
votes
1 answer

Pass ArrayBuffer from Angular to Elecron - Crashes the window

I'm having a Electron application internally I'm loading the Angular application. I'm downloading a byte array (i.e., ArrayBuffer) through an API call and passing those data to a method which I'm connecting through…
B.Balamanigandan
  • 4,713
  • 11
  • 68
  • 130
0
votes
1 answer

Electron Modify Options without recreating the window

I'got an issue with my application. I've created a nice looking Login-Window which is a window with the options {transparent: true, frame: false}. After the user has logged in. I want to "redirect" to the Dashboard where I need to set the option…
Koslov
  • 13
  • 2
  • 7