172
rated 0 times
[
179]
[
7]
/ answers: 1 / hits: 6068
/ 4 Years ago, mon, may 11, 2020, 12:00:00
I have a webapp which will run on a website and as a standalone Electron instance (.exe for Windows).
I'd like to tell via JavaScript if the webapp is running inside ElectronJS or not, in order to display some extra features for the online version. Is there any way to detect the Electron framework instance? I'd like to avoid writing two slightly different versions of the webapp.
More From » electron