Thank you!
The accepted solution in the thread referenced above is, using pre-install script.
"
disable network filter
stop network system extension
"
What are the commands to perform these in preinstall script.
As of now, these are the operations we perform in preinstall:
Unload the application from launchctl (launchctl asuser $GSUID /bin/launchctl unload $AGENT_PLIST_PATH)
rm -rf /Library/LaunchAgents/com.myapp.plist
We kill both UI and Extension process in preinstall using pkill
Topic:
App & System Services
SubTopic:
Networking
Tags: