Skip to content

Commit effde20

Browse files
authored
MicrosoftAutoUpdate2.sh - 1.1
Updates for the renaming of `Microsoft AU Daemon.app` to `Microsoft Update Assistant.app` in MAU 4.15.
1 parent 88141b5 commit effde20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

3-
## Version 1.0
4-
## By Erik Gomez
3+
## Version 1.1 by Kevin M. Cox
4+
## Original version by Erik Gomez
55
## https://gist.github.com/erikng/7cede5be1c0ae2f85435
66

77
## Registers the MAU application in the Launch Services database as if the user had opened it manually.
@@ -13,7 +13,7 @@ if [ -e "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app"
1313
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -R -f -trusted "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app"
1414
fi
1515

16-
if [ -e "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft AU Daemon.app" ]
16+
if [ -e "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft Update Assistant.app" ]
1717
then
18-
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -R -f -trusted "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft AU Daemon.app"
18+
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -R -f -trusted "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft Update Assistant.app"
1919
fi

0 commit comments

Comments
 (0)