Search code examples
macosplistdesktop-application

App name in Finder not matching app name in Terminal


It's shown as nwjs.app in Finder but nw-demo.app in Terminal.

screenshot

If I rename the app using mv nw-demo.app nw-demo2.app, it shows correctly in Finder. If I then rename it back using mv nw-demo2.app nw-demo.app, it shows as nwjs.app again. Strange.

The name should be nw-demo.app, that's what I want, but it's nwjs.app. I don't see anything in nw-demo.app/Contents/Info.plist or anywhere that would set it to nwjs. Here's the Info.plist:

plist screenshot


Solution

  • All I had to do was delete nw-demo.app/Contents/Resources/*.lproj. Apparently those files are used for internationalization and affect the display name.