Skip to content

Commit

Permalink
support Big Sur 11.3
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwjfy committed Apr 27, 2021
1 parent 977dd1d commit 0c38b48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GMailinator.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "full_version=$(sw_vers -productVersion)\nmajor_version=$(echo $full_version | awk -F \\. {'print $1'})\nminor_version=$(echo $full_version | awk -F \\. {'print $2'})\n\necho \"OSX v${major_version}.${minor_version}\"\n\nif [ \"$major_version\" -ge \"10\" -a \"$minor_version\" -ge \"12\" ]; then\n compatibility_key=Supported${major_version}.${minor_version}PluginCompatibilityUUIDs\nelse\n compatibility_key=SupportedPluginCompatibilityUUIDs\nfi\n\nif [ \"$major_version\" -ge \"10\" -a \"$minor_version\" -ge \"15\" ]; then\n mail_uuid=$(defaults read /System/Applications/Mail.app/Contents/Info PluginCompatibilityUUID)\nelse\n mail_uuid=$(defaults read /Applications/Mail.app/Contents/Info PluginCompatibilityUUID)\nfi\n\necho \"UUID for your version of Mail.app: ${mail_uuid}\"\n\nif defaults read ${SOURCE_ROOT}/GMailinator/Info.plist ${compatibility_key} | grep \"${mail_uuid}\" >/dev/null; then\n echo \"UUID already exists in ${compatibility_key}\"\nelse\n echo \"Adding UUID to ${compatibility_key}\"\n defaults write ${SOURCE_ROOT}/GMailinator/Info.plist ${compatibility_key} -array-add \"${mail_uuid}\"\nfi\n";
shellScript = "full_version=$(sw_vers -productVersion)\nmajor_version=$(echo $full_version | awk -F \\. {'print $1'})\nminor_version=$(echo $full_version | awk -F \\. {'print $2'})\n\necho \"macOS v${major_version}.${minor_version}\"\n\nif [ \"$major_version\" -ge \"11\" ] || [ \"$major_version\" -ge \"10\" -a \"$minor_version\" -ge \"12\" ]; then\n compatibility_key=Supported${major_version}.${minor_version}PluginCompatibilityUUIDs\nelse\n compatibility_key=SupportedPluginCompatibilityUUIDs\nfi\n\nif [ \"$major_version\" -ge \"11\" ] || [ \"$major_version\" -ge \"10\" -a \"$minor_version\" -ge \"15\" ]; then\n mail_uuid=$(defaults read /System/Applications/Mail.app/Contents/Info PluginCompatibilityUUID)\nelse\n mail_uuid=$(defaults read /Applications/Mail.app/Contents/Info PluginCompatibilityUUID)\nfi\n\necho \"UUID for your version of Mail.app: ${mail_uuid}\"\n\nif defaults read ${SOURCE_ROOT}/GMailinator/Info.plist ${compatibility_key} | grep \"${mail_uuid}\" >/dev/null; then\n echo \"UUID already exists in ${compatibility_key}\"\nelse\n echo \"Adding UUID to ${compatibility_key}\"\n defaults write ${SOURCE_ROOT}/GMailinator/Info.plist ${compatibility_key} -array-add \"${mail_uuid}\"\nfi\n";
};
/* End PBXShellScriptBuildPhase section */

Expand Down Expand Up @@ -318,7 +318,7 @@
GCC_PREFIX_HEADER = "GMailinator/GMailinator-Prefix.pch";
INFOPLIST_FILE = GMailinator/Info.plist;
INSTALL_PATH = "$(HOME)/Library/Mail/Bundles";
MARKETING_VERSION = 1.0.3;
MARKETING_VERSION = 1.0.4;
PRODUCT_BUNDLE_IDENTIFIER = "com.nompute.gmailinator.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = GMailinator;
WRAPPER_EXTENSION = mailbundle;
Expand All @@ -335,7 +335,7 @@
GCC_PREFIX_HEADER = "GMailinator/GMailinator-Prefix.pch";
INFOPLIST_FILE = GMailinator/Info.plist;
INSTALL_PATH = "$(HOME)/Library/Mail/Bundles";
MARKETING_VERSION = 1.0.3;
MARKETING_VERSION = 1.0.4;
PRODUCT_BUNDLE_IDENTIFIER = "com.nompute.gmailinator.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = GMailinator;
WRAPPER_EXTENSION = mailbundle;
Expand Down
4 changes: 4 additions & 0 deletions GMailinator/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@
<array>
<string>D985F0E4-3BBC-4B95-BBA1-12056AC4A531</string>
</array>
<key>Supported11.3PluginCompatibilityUUIDs</key>
<array>
<string>D985F0E4-3BBC-4B95-BBA1-12056AC4A531</string>
</array>
<key>SupportedPluginCompatibilityUUIDs</key>
<array>
<string>71562B89-0D90-4588-8E94-A75B701D6443</string>
Expand Down

0 comments on commit 0c38b48

Please sign in to comment.