Hi.

I have a basic mac pyobjc app which when launched from the command
line sets up its app icon and shows up in the dock.

When packaging it with pyinstaller I add in the .lproj and .icns files
and modify the plist file to point to the proper icns file.

When I launch the .app file the app does launch (2 procs as expected)
however the icon does not show up in the dock. Switching the
LSBackgroundOnly to false throws up two icons in the dock, but they
are the default app icons and not mine. Also one of the icons keeps
permanently bouncing and has to be force quit.

How do I go about debugging this and/or fixing this?

My Info.plist is included below.
Any help would be great.

Thanks.
AM

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://
www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>CFBundleDisplayName</key>
        <string>MyApp</string>
        <key>CFBundleExecutable</key>
        <string>MyApp</string>
        <key>CFBundleIconFile</key>
        <string>appicon.icns</string>
        <key>CFBundleIdentifier</key>
        <string>com.example.foo</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundleName</key>
        <string>MyApp</string>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>
        <string>0.0.1</string>
        <key>LSBackgroundOnly</key>
        <string>1</string>
        <key>NSPrincipalClass</key>
        <string>NSApplication</string>
</dict>
</plist>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to