Skip to content

Instantly share code, notes, and snippets.

@rogeriopradoj

rogeriopradoj/README.md

Last active Sep 11, 2020
Embed
What would you like to do?
Microsoft office and Chrome not working on catalina patcher (Solution) (self.CatalinaPatcher)

submitted 4 months ago by jareza

Hi! mandatory introduction:

I have a mid 2009 Macbook Pro that has Catalina Installed using Dos dude patcher. Works Great

However trying to open Google Chrome gave me an error. That same error was given when trying to open microsoft office.

I have found that doing these steps for fixing this issue works great (at least for Chrome and Office)

Install Google Chrome and Microsoft Office

Open Terminal and run this command

xcode-select --install

Itll open software update and install Xcode on your mac.

After installation is complete go back to terminal and copy and paste this command (hit enter after pasting)

sudo xattr -lr /Applications/Google\ Chrome.app

Enter your password

Then copy and paste this command:

sudo xattr -cr /Applications/Google\ Chrome.app

Finally copy and paste this command:

sudo codesign -f -s - /Applications/Google\ Chrome.app

and thats it, you can now launch chrome and it should work as intended

Now follow the steps mentioned here for chrome but for each microsoft office app (please note that each line represents a new command in terminal)

Word (2019 but should work with other versions)

sudo xattr -lr /Applications/Microsoft\ Word.app

sudo xattr -cr /Applications/Microsoft\ Word.app

sudo codesign -f -s - /Applications/Microsoft\ Word.app

​

Powerpoint

sudo xattr -lr /Applications/Microsoft\ PowerPoint.app

sudo xattr -cr /Applications/Microsoft\ PowerPoint.app

sudo codesign -f -s - /Applications/Microsoft\ PowerPoint.app

​

Microsoft Outlook

sudo xattr -lr /Applications/Microsoft\ Outlook.app

sudo xattr -cr /Applications/Microsoft\ Outlook.app

sudo codesign -f -s - /Applications/Microsoft\ Outlook.app

​

Microsoft One Note

sudo xattr -lr /Applications/Microsoft\ OneNote.app

sudo xattr -cr /Applications/Microsoft\ OneNote.app

sudo codesign -f -s - /Applications/Microsoft\ OneNote.app

Microsoft Excel

sudo xattr -lr /Applications/Microsoft\ Excel.app

sudo xattr -cr /Applications/Microsoft\ Excel.app

sudo codesign -f -s - /Applications/Microsoft\ Excel.app

​

And thats basically it, hope this helps anyone out there, and I would like to know whats causing this issues to arise.

​

Best Regards!

#!/usr/bin/env bash
helpFunction()
{
echo ""
echo "Usage: $0 -a applicationName"
echo -e "\t-a Name of .app, without extension, in /Applications directory"
exit 1 # Exit script after printing help
}
while getopts "a:" opt
do
case "$opt" in
a ) parameterA="$OPTARG" ;;
? ) helpFunction ;; # Print helpFunction in case parameter is non-existent
esac
done
# Print helpFunction in case parameters are empty
if [ -z "$parameterA" ]
then
echo "Some or all of the parameters are empty";
helpFunction
fi
# Begin script in case all parameters are correct
# echo "$parameterA"
# exit 0;
appPath="/Applications/${parameterA}.app"
if [[ ! -e "$appPath" ]]; then
echo "${appPath} doesn't exist";
exit 1;
fi
sudo xattr -lr "$appPath"
sudo xattr -cr "$appPath"
sudo codesign -f -s - "$appPath"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.