Create macOS App Bundle to allow Adding to Applications/Dock
Author: CastleSoftCreated Aug 30, 2023Updated Aug 30, 2023
Example:
ChatGpt.app -> Contents Info.plist MacOS -> All the files from release (ChatGPT.UI.Desktop, *.dylib, System.Native.a ) Resources -> Clippy.icns
Example Info.plist
CFBundleDevelopmentRegion English CFBundleExecutable ChatGPT.UI.Desktop CFBundleIconFile Clippy.icns CFBundleIdentifier com.yourcompany.ChatGPT CFBundleName ChatGPT CFBundlePackageType APPL CFBundleShortVersionString 1.0 CFBundleVersion 1<!-- Application Category (Optional) -->
<!-- Uncomment and modify this key if needed -->
<!--
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
-->
<!-- Dependencies (Assuming they are in the same folder as the executable) -->
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<string>true</string>
<key>CFBundleDocumentTypes</key>
<array>
<!-- Add document types here if applicable -->
</array>
<key>CFBundlePackageType</key>
<string>APPL</string>
<!-- Dependencies (Assuming they are in the same folder as the executable) -->
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<!-- Dependencies (Assuming they are in the same folder as the executable) -->
<key>CFBundleExecutable</key>
<string>ChatGPT.UI.Desktop</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>ChatGPT</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<!-- Dependencies (Assuming they are in the same folder as the executable) -->
<key>CFBundleExecutable</key>
<string>ChatGPT.UI.Desktop</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<!-- Dependencies (Assuming they are in the same folder as the executable) -->
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<!-- Dependencies (Assuming they are in the same folder as the executable) -->
<key>CFBundleExecutable</key>
<string>ChatGPT.UI.Desktop</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>ChatGPT</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
Source: wieslawsoltes/ChatGPT