Skip to content

Commit

Permalink
Upload the scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
MyPictures authored May 1, 2021
1 parent 3612e09 commit a6786ff
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 0 deletions.
50 changes: 50 additions & 0 deletions DisableAdobeServices.command
Original file line number Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions EnableCreativeCloudServices.command
Original file line number Diff line number Diff line change
@@ -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"
8 changes: 8 additions & 0 deletions EnablePhotoshopServices.command
Original file line number Diff line number Diff line change
@@ -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"
27 changes: 27 additions & 0 deletions RestoreToDefault.command
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit a6786ff

Please sign in to comment.