All Questions
85
questions
0
votes
0
answers
30
views
How to use python in electron js package
My friend and I are buildinf a desktop app using electron js, in there we have a snippet of code that runs in a js file that goes like this:
const scriptPath = await window.spawnAPI.pathJoin('..', '..'...
0
votes
0
answers
28
views
How to resolve the MQTT error in the Electron Application?
In the simple [email protected] application, I'm using [email protected] and getting this error -
renderer.js: Uncaught TypeError: client.on is not a function
renderer.js file -
const topic = 'test/test';
...
0
votes
0
answers
13
views
Change dark mode using main.js electron
Building a simple electron application following a beginners tutorial and trying to control dark mode appearance through a menu checkbox using the main process.
const template = [{
label: '...
0
votes
0
answers
138
views
Rewriting A Text File's Content In An Electron App
I want to create a text editor, and so far I was able to add file saving and file opening functionality. I want the text content of the opened file changed according to the textarea in my code, so ...
0
votes
0
answers
81
views
Is IPC Communication is an alternative for API in electron apps?
Currently I'm learning to build electron app , I'm just trying to figure out if IPC Communication is the right way to access local SQLLITE db from front end and make it act like a API , or is there ...
1
vote
0
answers
267
views
`This app can't run on your PC` error when launching an electron app
I am a currently working on a small personal project. The user should see a form with a few fields upon opening the app, and when they submit the form, the data is appended to an Excel sheet within ...
0
votes
0
answers
34
views
How to avoid overlap between main window created by Electron and other window that are not managed by Electrion?
Background
I am quite new with Election
I would like to create a sticky note desktop application like google desktop
My expectation is that the other window (In this case, notepad) should not overlap ...
2
votes
0
answers
52
views
I want to get the URL of the active page in the browser in Electron
I am planning to build an application using Electron. What I want to accomplish is to get the URL of the site the user has open in Chrome. For example, if the user has Twitter open in Chrome, I want ...
-1
votes
2
answers
206
views
Electron Js, Launching our desktop application when performing a certain task
I'm fairly new to electron JS and I was going through the official documentation of the framework, What I do know is that electron offers auto start option out of the box but what I couldn't find was, ...
0
votes
1
answer
183
views
How can I check if app is being minimized from minimize icon or by clicking taskbar app icon?
I have added functionality where the app hides in the background on window.minimize. But I want to hide it only when the minimize button is clicked and minimize when clicked from the taskbar.
win.on(&...
0
votes
0
answers
1k
views
electron: Failed to load URL: app://-/ with error: ERR_FILE_NOT_FOUND
I started building a desktop app using Electron Js that enable users to upload a folder that contains client side web app (either a native one with html, css, js files or other based on a framworke ...
2
votes
2
answers
291
views
electron-builder.ps1 cannot be loaded because running
i trying to convert a website to desktop app with js electron i found this problem while i build my exe app:
electron-builder : File C:\Users\firas lweti\AppData\Roaming\npm\electron-builder.ps1 ...
0
votes
0
answers
188
views
How to create and electron project that runs a angular project in a window (desktop application)
I am currently building an electron/angular application. My block is that I do not know how to nest my electron app and my angular app together. at the moment, my angular application has no electron ...
-2
votes
1
answer
703
views
How to navigate in electron without opening new windows
I want to move between html pages in the same window without opening a new window on each navigation how do I do that in electron
0
votes
1
answer
161
views
mainWindow.webContents.send() not received by ipcRenderer.on() function?
The data that I want to display is in the form of a matrix of diseases, and when you click on the name of the matrix on the page of specialties, the page for displaying the diseases of this specialty ...