Running the current code on Electron 7 issues the following warning:
'getName function' is deprecated and will be removed. Please use 'name property' instead.
Unfortunately, the name property is first documented for Electron 7 too. So to maintain compatibility,
we detect it's presence and use it only if available.
Running the current code on Electron 7 issues the following warning: 'getName function' is deprecated and will be removed. Please use 'name property' instead.
Unfortunately, the
name
property is first documented for Electron 7 too. So to maintain compatibility, we detect it's presence and use it only if available.