Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request nompute#9 from jamesmallen/master
Browse files Browse the repository at this point in the history
Adding compatibility for OSX 10.12.2 Mail.app, updating build script …
  • Loading branch information
fikovnik committed Dec 14, 2016
2 parents d3bd394 + a3a6c7e commit dec9525
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GMailinator.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "echo \"Grabbing the mail app uuid for your version....\"\necho \"the Source_ROOT ${SOURCE_ROOT}\"\n\ndefaults write ${SOURCE_ROOT}/GMailinator/Info.plist SupportedPluginCompatibilityUUIDs -array-add \"`${SOURCE_ROOT}/find_uuid.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\nmail_uuid=$(${SOURCE_ROOT}/find_uuid.sh)\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";
};
/* End PBXShellScriptBuildPhase section */

Expand Down
Binary file modified GMailinator/Info.plist
Binary file not shown.

0 comments on commit dec9525

Please sign in to comment.