All Questions
91
questions
0
votes
0
answers
56
views
After code signing and notarizing, my program that builds with electron-builder not opening.(MacOS ARM)
enter image description here
if I open from terminal:
open TopCreator.app
The application cannot be opened for an unexpected reason, error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed....
1
vote
1
answer
70
views
executing script over terminal using electron js application but it requires node js to be installed
I am presently engaged in a project that involves running a script through the system terminal using my Electron.js application. However, I have encountered a challenge related to new users who may ...
1
vote
1
answer
421
views
How to ask for screen recording permission in electron app in Mac OS?
I am trying to create an app and ask for screen recording permission, but the app asks for permission if i directly execute desktopcapturer.getsources() function with the correct app name added.
Here ...
0
votes
1
answer
143
views
Electron Application Not Launching from .app but Runs from Unix Executable
I'm facing an issue with my Electron application that I built using electron-react-boilerplate.
Steps to Reproduce:
1.I built the application using the following command:
npm run package
The build ...
1
vote
0
answers
188
views
Multiple dock icons for single Electron app?
My Electron app has two modes, let's call them A and B.*
When switching between the two modes, I'm creating a new BrowserWindow and changing the dock icon (see "What I've Tried" below).
Is ...
1
vote
1
answer
50
views
Which directory can be used to store data and will be wiped when uninstall on macOS (Installed from Mac App Store)?
I am writing an Electron app. I want to store user settings and want the settings to be wiped on uninstall, but persists on update.
So the regular app.getPath("userData") doesn't fit since ...
1
vote
1
answer
737
views
Electron Drag & Drop Into Unfocused Window
I'm trying to create a drag & drop functionality into an electron window, using the recommended approach of sandboxing the processes. So that ipcMain is isolated from ipcRenderer, and the bridge ...
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....
2
votes
1
answer
161
views
Lightning Chart JS Blurry on Mac?
I am working on getting a basic LightningChart example up and running in electron, looking to write a cross-platform charting app for my industry.
I grabbed the demo HTML code from the website and ...
1
vote
1
answer
131
views
macOS – In an Electron app, can you combine `Command` with `MediaNextTrack` as a global shortcut?
I'm trying to add a Cmd+MediaNextTrack shortcut to this app I'm building.
Combined shortcuts (like e.g. Cmd+Shift+Space) seem to work fine in my Electron app.
I am aware of the Security & Privacy /...
0
votes
1
answer
498
views
Electron number widget in macOS menubar
I'm currently searching for a way to display number values in the macOS menubar. Tools like iStat Menus 6 show that it's possible to display advanced widgets in the macOS menubar like number values ...
2
votes
0
answers
255
views
mas-dev build won't show open file dialog on an electron app
I've been trying to pack and sign my electron app using this guide. I've signed the app and am able to open app, however, I'm unable to show the open file dialog. Here is the relevant code and configs:...
7
votes
1
answer
5k
views
electron-builder error: Cannot find module 'dmg-license'
I am looking for a simple way to build an electron app for macOS, from a linux machine.
Unfortunately, the electron-builder -m command doesn't work, here is the full output of the command:
electron-...
0
votes
1
answer
1k
views
Exec, ExecSync, Spawn, SpawnSync fails in production on multiple MAC machines
Solved -- Official Electron bug solved in 17.0.2
I'm trying to write a cross-platform app that utilizes child processes to execute commands. I ran into a problem where the script wouldn't work on some ...
0
votes
1
answer
172
views
electronJS / Detect if foreign app is running (MacOS) (Sandbox) (MAS)
Is it possible to detect in electronJS if are specific Apps are running on MacOS?
I want to check, if the Mail.app is open and its important, that the code works in Mac Apple Store (MAS) in Sandbox ...