electron-prebuilt-compile icon indicating copy to clipboard operation
electron-prebuilt-compile copied to clipboard

'setName function' is deprecated and will be removed.

Open MangaD opened this issue 5 years ago • 5 comments

I get the following warning on my app:

(electron) 'setName function' is deprecated and will be removed. Please use 'name property' instead.

and:

$ grep -rnw '.' -e 'setName'
./node_modules/electron-prebuilt-compile/electron.d.ts:1342:    setName(name: string): void;
./node_modules/electron-prebuilt-compile/lib/es6-init.js:48:  _electron.app.setName(packageJsonData.productName || packageJsonData.name);
./node_modules/electron-prebuilt-compile/node_modules/electron/electron.d.ts:1342:    setName(name: string): void;
./node_modules/electron-prebuilt-compile/src/es6-init.js:37:  app.setName(packageJsonData.productName || packageJsonData.name);

MangaD avatar Jul 31 '20 14:07 MangaD

up issue

alexcaussades avatar Jul 03 '21 20:07 alexcaussades

Same issue with version 8.2.0

jeanlambert17 avatar Aug 04 '21 21:08 jeanlambert17

same issue with electron v13.2.2 (even causes syntax errors, which doesn't exist)

EhsanFox avatar Sep 02 '21 15:09 EhsanFox

Bump, I'm still seeing this warning

rpherbig avatar Feb 15 '22 20:02 rpherbig

Same issue with version 19.0.2

Imaginativeone avatar Jun 02 '22 15:06 Imaginativeone