electron-userland / electron-prebuilt-compile

electron-prebuilt with Babel and React built-in
168 stars 56 forks source link

'setName function' is deprecated and will be removed. #89

Open MangaD opened 4 years ago

MangaD commented 4 years ago

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);
alexcaussades commented 3 years ago

up issue

jeanlambert17 commented 3 years ago

Same issue with version 8.2.0

EhsanFox commented 3 years ago

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

rpherbig commented 2 years ago

Bump, I'm still seeing this warning

Imaginativeone commented 2 years ago

Same issue with version 19.0.2