Paulo Galdo Sandoval Paulo Galdo Sandoval - 1 year ago 612
Javascript Question

Electron app name doesn't change

i'm packaging my application using electron-packager but isn't changing its name, and still display "Electron".

it's supposed to use the

in my
but it doesn't change.

even if i made an installer, the name of the app installed, shortcut and process still is

i've read that maybe the problem is
but i didn't have it as a dependency on my project.

Any idea what is wrong?


reading more on the documentation of
there's an options especially to windows. but when i use them throws me an error:

Fatal error: Unable to commit changes

the first time i used them was "working" good packaging my app, but still displaying wrong the appname

electron-packager ./ --platform=win32 --arch=ia32 --overwrite=true --appname="TierraDesktop" --version-string.ProductName="TierraDesktop" --version-string=InternalName="TierraDesktop" --version-string.CompanyName="Cosmica" --version-string.FileDescription="Sistema de gestion comercial" --version-string.OriginalFilename="TierraDesktop"

before was working with
but now even with it still throws that error.

here i'll leave you my
that's on the root of my project

"name": "TierraDesktop",
"productName": "TierraDesktop",
"version": "2.0.5",
"description": "Aplicacion de escritorio tierra de colores",
"main": "main.js",
"scripts": {
"start": "electron main.js"
"repository": {
"type": "git",
"url": "git+"
"author": "xxxxx",
"devDependencies": {
"debug-menu": "^0.4.0",
"electron-winstaller": "^2.3.3"
"dependencies": {
"electron-json-storage": "^2.0.0"


Process name

Application name

Answer Source

Ok after trying and researching i've decided to package my application via programmatic API

with this script i can achieve all what i want. hope this help someone with the same problem.

var packager = require('electron-packager');
var options = {
    'arch': 'ia32',
    'platform': 'win32',
    'dir': './',
    'app-copyright': 'Paulo Galdo',
    'app-version': '2.0.5',
    'asar': true,
    'icon': './app.ico',
    'name': 'TierraDesktop',
    'ignore': ['./releases', './.git'],
    'out': './releases',
    'overwrite': true,
    'prune': true,
    'version': '1.3.2',
      'CompanyName': 'Paulo Galdo',
      'FileDescription': 'Tierra de colores', /*This is what display windows on task manager, shortcut and process*/
      'OriginalFilename': 'TierraDesktop',
      'ProductName': 'Tierra de colores',
      'InternalName': 'TierraDesktop'
packager(options, function done_callback(err, appPaths) {
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download