Skip to main content

All Questions

0 votes
1 answer
35 views

How to ignore compile errors in Typescript/Electron for unreachable code

I'm rather new in Typescript/Electron and try to make a text based game. I started from the equivalent of a hello world electron application and start implementing some core logic with classes/...
MenP's user avatar
  • 3
0 votes
0 answers
66 views

Electron Desktop Capturer audio not working on Windows

I can get the navigator.mediaDevices.getUserMedia(constraints); to work with audio set to false, but as soon as I add audio as follows: constraints.audio = { mandatory: { ...
Jaco Snyman's user avatar
1 vote
0 answers
76 views

React + Electron + SQLite app error, Module not found: Error: Can't resolve 'path' in 'root\src\main\services'

I am building React + Electron + SQLite app using TS. It is about storing articles locally, and browsing them on your local computer. I am new to Electron (this is my first project). In my Database....
JureArsovic's user avatar
1 vote
0 answers
32 views

If there any methods to disabled Window key in electron js?

I've been working on developing an Online Examination System where it use to prevent students from cheating during the exam. I want to disable window key and other combination key like win + PrtSc.....
Chey Sreylin's user avatar
3 votes
2 answers
1k views

Is there any way in electron to detect a shutdown on Windows?

I tried "session-end", "window-all-closed" to capture the windows shutdown event. Electron needs to call function before computer gets shutdown. win.on("session-end",(...
vardhan's user avatar
  • 51
0 votes
0 answers
668 views

Why is electron complaining of unexpected token:

I am following the JetBrains description of how to run electron with WebStorm on Windows (https://blog.jetbrains.com/webstorm/2016/05/getting-started-with-electron-in-webstorm/). This works perfectly ...
MichaelDavies's user avatar
0 votes
1 answer
35 views

Detect size of taskbar buttons

Is there a way detect size of taskbar buttons (small or large) on Windows 7,10? There is a registry that could be used HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\...
vanowm's user avatar
  • 9,954