From eb26e71019f13af5a67745a0826a995bb2d0a612 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Tue, 9 May 2023 11:11:37 +0200 Subject: [PATCH] contrib: cleanup macOS' Info.plist Based on the doc at https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html#//apple_ref/doc/uid/10000123i-CH101-SW5, get rid of some superfluous fields and cleanup the whole file. --- .../Liana.app/Contents/Info.plist | 101 +++++++----------- 1 file changed, 38 insertions(+), 63 deletions(-) diff --git a/contrib/release/macos/dmg_template/Liana.app/Contents/Info.plist b/contrib/release/macos/dmg_template/Liana.app/Contents/Info.plist index fdf5b58b..46f57151 100644 --- a/contrib/release/macos/dmg_template/Liana.app/Contents/Info.plist +++ b/contrib/release/macos/dmg_template/Liana.app/Contents/Info.plist @@ -1,69 +1,44 @@ - - LSMinimumSystemVersion - 10.15.0 - - LSArchitecturePriority - - x86_64 - - - - - - - CFBundlePackageType - APPL - - CFBundleSupportedPlatforms - - MacOSX - - - CFBundleShortVersionString - VERSION_PLACEHOLDER - - CFBundleVersion - VERSION_PLACEHOLDER - - CFBundleSignature - ???? - - CFBundleExecutable - Liana - - CFBundleName - Liana - - LSHasLocalizedDisplayName - - - CFBundleIdentifier - org.wizardsardine.liana - - CFBundleURLTypes - + + - CFBundleTypeRole - Editor - CFBundleURLName - org.wizardsardine.liana - CFBundleURLSchemes - - liana - + CFBundleName + Liana + + CFBundleDisplayName + Liana + + CFBundleIdentifier + com.wizardsardine.liana + + CFBundleVersion + VERSION_PLACEHOLDER + + CFBundleShortVersionString + VERSION_PLACEHOLDER + + CFBundlePackageType + APPL + + CFBundleSignature + ???? + + CFBundleExecutable + Liana + + LSMinimumSystemVersion + 10.15.0 + + CFBundleIconFile + Liana.icns + + NSPrincipalClass + NSApplication + + LSApplicationCategoryType + public.app-category.finance + - - - NSPrincipalClass - NSApplication - - NSHighResolutionCapable - True - - LSApplicationCategoryType - public.app-category.finance -