From 690e60cd74c44ed1e2d21b27e3152856845ead28 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Sat, 8 Nov 2025 18:47:51 +0100 Subject: Build an application bundle on macOS This is far from done, but nonetheless constitutes a big improvement. macOS application bundles are more or less necessary for: - showing a nice icon; - having spawned off instances actually be brought to the foreground; - file associations (yet files currently do not open properly); - having a reasonable method of distribution. Also resolving a bunch of minor issues: - The context menu had duplicate items, and might needlessly end up with (null) labels. --- macos-Info.plist.in | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 macos-Info.plist.in (limited to 'macos-Info.plist.in') diff --git a/macos-Info.plist.in b/macos-Info.plist.in new file mode 100644 index 0000000..b518a62 --- /dev/null +++ b/macos-Info.plist.in @@ -0,0 +1,52 @@ + + + + + CFBundleExecutable + @ProjectName@ + CFBundleIdentifier + @ProjectNS@@ProjectName@ + CFBundleName + @ProjectName@ + CFBundleIconFile + @ProjectName@.icns + CFBundleShortVersionString + @ProjectVersion@ + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + APPL + + + + + CFBundleDocumentTypes + + + CFBundleTypeName + Image File + CFBundleTypeRole + Viewer + LSHandlerRank + Default + LSItemContentTypes + + com.apple.icns + com.apple.quicktime-image + com.compuserve.gif + com.microsoft.bmp + com.microsoft.ico + org.webmproject.webp + public.avif + public.heic + public.heif + public.jpeg + public.png + public.svg-image + public.tiff + public.xbitmap-image + + + + + -- cgit v1.2.3-70-g09d2