diff --git a/DisableAdobeServices.command b/DisableAdobeServices.command new file mode 100644 index 0000000..625cb58 --- /dev/null +++ b/DisableAdobeServices.command @@ -0,0 +1,50 @@ +#! /bin/bash + +# This Script first prevents execution of the background apps from adobe and then kills their processes with the killall command +# Its possible that if Adobe modifies some background applications (manly if they change their name which is not likely), this script wont be able to properly block them anymore. +# In that case an update of this Script would be required + +# Blocking libs and backgroundservices from Adobe using santactl +sudo santactl rule --silent-block --path "/Library/Application Support/Adobe/Adobe Desktop Common/IPCBox/AdobeIPCBroker.app" +sudo santactl rule --silent-block --path "/Library/Application Support/Adobe/Adobe Desktop Common/ADS/Adobe Desktop Service.app" +sudo santactl rule --silent-block --path "/Library/Application Support/Adobe/Creative Cloud Libraries/CCLibrary.app" + +sudo santactl rule --silent-block --path "/Applications/Utilities/Adobe Sync/CoreSync/Core Sync.app" +sudo santactl rule --silent-block --path "/Applications/Utilities/Adobe Creative Cloud/ACC/Creative Cloud.app" +sudo santactl rule --silent-block --path "/Applications/Utilities/Adobe Creative Cloud/ACC/Creative Cloud Helper.app" +sudo santactl rule --silent-block --path "/Applications/Utilities/Adobe Creative Cloud Experience/CCXProcess/CCXProcess.app" + +#Disable crash reporting services of Adobe (Not needed to run Adobe Applications) +sudo santactl rule --silent-block --path "/Applications/Adobe Photoshop 2021/Adobe Photoshop 2021.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCRDaemon.app/Contents/MacOS/AdobeCRDaemon" +sudo santactl rule --silent-block --path "/Applications/Utilities/Adobe Creative Cloud/ACC/Creative Cloud.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCRDaemon.app" +sudo santactl rule --silent-block --path "/Applications/Utilities/Adobe Creative Cloud/ACC/Creative Cloud Helper.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCRDaemon.app" +sudo santactl rule --silent-block --path "/Library/Application Support/Adobe/Adobe Desktop Common/IPCBox/AdobeIPCBroker.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCRDaemon.app" +sudo santactl rule --silent-block --path "/Library/Application Support/Adobe/Adobe Desktop Common/ADS/Adobe Desktop Service.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCRDaemon.app" + +#Disable crash reporting services for Adobe Lightroom +sudo santactl rule --silent-block --path "/Applications/Adobe Lightroom CC/Adobe Lightroom.app" +#Same for Adobe Lightroom Classig +sudo santactl rule --silent-block --path "/Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app" + +#Using the killall command afterwards to kill any instances that may run in the background. + +#Main Adobe background services (without those, Photoshop and other Adobe applications wont run or hang) +sudo killall AdobeIPCBroker +sudo killall "Adobe Desktop Service" + +#Crash handling for all Adobe applications +sudo killall AdobeCRDaemon +sudo killall CrashHandler + +# CreativeCloud Stuff +sudo killall "Creative Cloud" +sudo killall "Creative Cloud Helper" +sudo killall "Adobe CEF Helper" +sudo killall "Adobe CEF Helper (GPU)" +sudo killall "Adobe CEF Helper (Renderer)" +sudo killall "Adobe CEF Helper" +sudo killall "Adobe CEF Helper (GPU)" +sudo killall "Adobe CEF Helper (Renderer)" + +#This is nessesary for the CCLibrary process from adobe, may also kill other node.js processes +sudo killall node diff --git a/EnableCreativeCloudServices.command b/EnableCreativeCloudServices.command new file mode 100644 index 0000000..97f279b --- /dev/null +++ b/EnableCreativeCloudServices.command @@ -0,0 +1,13 @@ +#! /bin/bash +# CreativeCloud will not run if any of those applications are beeing prevented from running. + +#Library stuff needed for CreativeCloud +sudo santactl rule --remove --path "/Library/Application Support/Adobe/Adobe Desktop Common/IPCBox/AdobeIPCBroker.app" +sudo santactl rule --remove --path "/Library/Application Support/Adobe/Adobe Desktop Common/ADS/Adobe Desktop Service.app" +sudo santactl rule --remove --path "/Library/Application Support/Adobe/Creative Cloud Libraries/CCLibrary.app" + +#Cloud Services, Helper Service and all the other stuff which the CreativeCloud application needs to run +sudo santactl rule --remove --path "/Applications/Utilities/Adobe Sync/CoreSync/Core Sync.app" +sudo santactl rule --remove --path "/Applications/Utilities/Adobe Creative Cloud Experience/CCXProcess/CCXProcess.app" +sudo santactl rule --remove --path "/Applications/Utilities/Adobe Creative Cloud/ACC/Creative Cloud Helper.app" +sudo santactl rule --remove --path "/Applications/Utilities/Adobe Creative Cloud/ACC/Creative Cloud.app" diff --git a/EnablePhotoshopServices.command b/EnablePhotoshopServices.command new file mode 100644 index 0000000..2109f3d --- /dev/null +++ b/EnablePhotoshopServices.command @@ -0,0 +1,8 @@ +#! /bin/bash + +# I have only tested this script with Photoshop but it should work just fine for the other applications aswell. +# All what Photoshop needs is the IPCBroker. It runs fine if you have the crash handlers disabled. +# Photoshop may start up a little slower at the beginning. That is because it will first try to start the IPCBroker service and then start itself. +# Once the IPCBroker service is running, you shouldnt notice a difference in application start performance but yeah I cannot be sure... + +sudo santactl rule --remove --path "/Library/Application Support/Adobe/Adobe Desktop Common/IPCBox/AdobeIPCBroker.app" \ No newline at end of file diff --git a/RestoreToDefault.command b/RestoreToDefault.command new file mode 100644 index 0000000..a0162d4 --- /dev/null +++ b/RestoreToDefault.command @@ -0,0 +1,27 @@ +#! /bin/bash + +# This Script first prevents execution of the background apps from adobe and then kills their processes with the killall command +# Its possible that if Adobe modifies some background applications (manly if they change their name which is not likely), this script wont be able to properly block them anymore. +# In that case an update of this Script would be required + +# Blocking libs and backgroundservices from Adobe using santactl +sudo santactl rule --remove --path "/Library/Application Support/Adobe/Adobe Desktop Common/IPCBox/AdobeIPCBroker.app" +sudo santactl rule --remove --path "/Library/Application Support/Adobe/Adobe Desktop Common/ADS/Adobe Desktop Service.app" +sudo santactl rule --remove --path "/Library/Application Support/Adobe/Creative Cloud Libraries/CCLibrary.app" + +sudo santactl rule --remove --path "/Applications/Utilities/Adobe Sync/CoreSync/Core Sync.app" +sudo santactl rule --remove --path "/Applications/Utilities/Adobe Creative Cloud/ACC/Creative Cloud.app" +sudo santactl rule --remove --path "/Applications/Utilities/Adobe Creative Cloud/ACC/Creative Cloud Helper.app" +sudo santactl rule --remove --path "/Applications/Utilities/Adobe Creative Cloud Experience/CCXProcess/CCXProcess.app" + +#Disable crash reporting services of Adobe (Not needed to run Adobe Applications) +sudo santactl rule --remove --path "/Applications/Adobe Photoshop 2021/Adobe Photoshop 2021.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCRDaemon.app/Contents/MacOS/AdobeCRDaemon" +sudo santactl rule --remove --path "/Applications/Utilities/Adobe Creative Cloud/ACC/Creative Cloud.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCRDaemon.app" +sudo santactl rule --remove --path "/Applications/Utilities/Adobe Creative Cloud/ACC/Creative Cloud Helper.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCRDaemon.app" +sudo santactl rule --remove --path "/Library/Application Support/Adobe/Adobe Desktop Common/IPCBox/AdobeIPCBroker.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCRDaemon.app" +sudo santactl rule --remove --path "/Library/Application Support/Adobe/Adobe Desktop Common/ADS/Adobe Desktop Service.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCRDaemon.app" + +#Disable crash reporting services for Adobe Lightroom +sudo santactl rule --remove --path "/Applications/Adobe Lightroom CC/Adobe Lightroom.app" +#Same for Adobe Lightroom Classig +sudo santactl rule --remove --path "/Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app"