Is there an Info.plist when creating .exe types?

11 views
Skip to first unread message

Paul Fishback

unread,
Mar 9, 2022, 3:53:23 AM3/9/22
to PyInstaller
I've successfully created my MacOS .app using pyinstaller. When I view the package contents I see Info.plist, which I can open in a text editor, modify as desired, and save. An example would be as follows:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>CFBundleDisplayName</key>
        <string>MyProgram</string>
        <key>CFBundleExecutable</key>
        <string>MyProgram</string>
        <key>CFBundleIconFile</key>
        <string>my_icon.icns</string>
        <key>CFBundleIdentifier</key>
        <string>MyProgram</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundleName</key>
        <string>MyProgram</string>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>
        <string>Version 1.0.0, Copyright Paul Fishback, 2022</string>

        <key>LSEnvironment</key>
        <dict>
                <key>LANG</key>
                <string>de_DE.UTF-8</string>
                <key>LC_CTYPE</key>
                <string>de_DE.UTF-8</string>
        </dict>
        <key>NSHighResolutionCapable</key>
        <true/>
</dict>
</plist>

The lines in boldface, which I added/edited myself, will result in a small pop-up with an icon thumbnail and 'Version 1.0.0, Copyright Paul Fishback, 2022 whenever the user selects "About MyProgram" from the pulldown menu.

Is there an Info.plist on the Windows side, or something analogous that I can edit in order include program information like the version, copyright, etc. ? Is it possible to add the desired info directly in the .spec file?

Thanks


Reply all
Reply to author
Forward
0 new messages