Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

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

Open
MangaD opened this issue Jul 31, 2020 · 5 comments
Open

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

MangaD opened this issue Jul 31, 2020 · 5 comments

Comments

@MangaD
Copy link

MangaD commented Jul 31, 2020

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
Copy link

up issue

@jeanlambert17
Copy link

Same issue with version 8.2.0

@EhsanFox
Copy link

EhsanFox commented Sep 2, 2021

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

@rpherbig
Copy link

Bump, I'm still seeing this warning

@Imaginativeone
Copy link

Same issue with version 19.0.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants