Renaming Electron Apps while using Electron Builder

Hi everyone –

Does anyone have any advice on how to rename an Electron application for macOS and NSIS in a way that does not break existing macOS dock icons or Windows Taskbar icons?

We use electron-updater and electron-builder to handle auto-updates. Ideally, we’d just push out a single update to change the name of our application. However, each time we do that, it appears that we break macOS dock icons, which are expecting a different application name.

Is there a way that anyone knows of to change the name of an application while preserving dock icon functionality? We’ve attempted to change the name via changing the productName in our package.json.

Thanks everyone!

Bumping this back up. Thanks in advance for your help!