This is different for Windows and for macOS. I assume for macOS we have to edit the bundle info in the spec file. For Windows, there's some info here: https://pyinstaller.org/en/stable/usage.html?highlight=version#capturing-windows-version-data