getName
The current application's name, which is the name in the application's package.json file.
Usually the name field of package.json is a short lowercase name, according to the npm modules spec. You should usually also specify a productName field, which is your application's full capitalized name, and which will be preferred over name by Electron.
Electron uses the application's name to construct the default userData directory. On Windows, neither productName nor name should contain the following special characters, which cannot be used in directory or file names: <, >, :, ", \, /, |, ?, *. Using these characters in the application's name can prevent Electron from creating the default userData directory and cause the application to crash on startup.