From 483d235af9cfb237834b6d0b17f65442dee42a3d Mon Sep 17 00:00:00 2001 From: Sean Date: Thu, 13 Nov 2014 19:42:00 -0800 Subject: [PATCH 1/4] Add tox: integration for OS X --- res/info.plist | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/res/info.plist b/res/info.plist index 16ab31c70..6705cb480 100644 --- a/res/info.plist +++ b/res/info.plist @@ -14,5 +14,11 @@ qtox CFBundleIdentifier im.tox.qtox + CFBundleURLName + qtox + CFBundleURLSchemes + + tox + From c166a4813db1a1aaba251a51150946dc66c4e019 Mon Sep 17 00:00:00 2001 From: Sean Date: Thu, 13 Nov 2014 20:49:32 -0800 Subject: [PATCH 2/4] Make everything magically work --- res/info.plist | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/res/info.plist b/res/info.plist index 6705cb480..34ced64a2 100644 --- a/res/info.plist +++ b/res/info.plist @@ -15,10 +15,24 @@ CFBundleIdentifier im.tox.qtox CFBundleURLName - qtox + tox CFBundleURLSchemes - - tox - + + tox + + CFBundleTypeExtensions + + tox + + CFBundleTypeName + Tox profile + CFBundleTypeMIMETypes + + + + CFBundleTypeIconFile + qtox.icns + CFBundleURLIconFile + qtox.icns From e05101942e041f9f4c3ee799f68228acc22478c7 Mon Sep 17 00:00:00 2001 From: Sean Date: Fri, 14 Nov 2014 00:30:37 -0800 Subject: [PATCH 3/4] Fix mimetype, fix displayed name in titlebar, add a version string for internal tracking, declare language support for localization --- res/info.plist | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/res/info.plist b/res/info.plist index 34ced64a2..9368b2f90 100644 --- a/res/info.plist +++ b/res/info.plist @@ -12,6 +12,14 @@ ???? CFBundleExecutable qtox + CFBundleDisplayName + qTox + CFBundleName + qTox + CFBundleVersion + 1.0.0 + CFBundleShortVersionString + 1.0.0-EXPERIMENTIAL CFBundleIdentifier im.tox.qtox CFBundleURLName @@ -28,11 +36,25 @@ Tox profile CFBundleTypeMIMETypes - + tox/x-profile CFBundleTypeIconFile qtox.icns CFBundleURLIconFile qtox.icns + CFBundleLocalizations + + en_US + en + bg_BG + de_DE + fi_FI + fr_FR + it_IT + pl_PL + ru_RU + uk_UA + sv + From 3aa83993022a5d64e6782fb087d93c1242872ae7 Mon Sep 17 00:00:00 2001 From: Sean Date: Fri, 14 Nov 2014 02:48:07 -0800 Subject: [PATCH 4/4] Refactor info.plist This actually works now. --- res/info.plist | 70 ++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 56 insertions(+), 14 deletions(-) diff --git a/res/info.plist b/res/info.plist index 9368b2f90..7b137ac51 100644 --- a/res/info.plist +++ b/res/info.plist @@ -22,26 +22,68 @@ 1.0.0-EXPERIMENTIAL CFBundleIdentifier im.tox.qtox - CFBundleURLName - tox - CFBundleURLSchemes + CFBundleURLTypes - tox + + CFBundleURLName + Tox URL + CFBundleTypeRole + Viewer + CFBundleURLSchemes + + tox + + CFBundleURLIconFile + qtox.icns + - CFBundleTypeExtensions + CFBundleDocumentTypes - tox + + CFBundleTypeExtensions + + tox + + CFBundleTypeName + Tox profile + CFBundleTypeRole + Editor + CFBundleTypeIconFile + qtox.icns + CFBundleTypeMIMETypes + + tox/x-profile + + LSHandlerRank + Owner + LSItemContentTypes + + public.tox + + - CFBundleTypeName - Tox profile - CFBundleTypeMIMETypes + UTImportedTypeDeclarations - tox/x-profile + + UTTypeConformsTo + + public.data + + UTTypeIdentifier + public.tox + UTTypeTagSpecification + + com.apple.ostype + TOX + public.filename-extension + + tox + + public.mime-type + tox/x-profile + + - CFBundleTypeIconFile - qtox.icns - CFBundleURLIconFile - qtox.icns CFBundleLocalizations en_US