I’m trying to modify the com.unity3d.UnityEditor5.x.plist that is under ~/Library/Preferences/ via command line to set up my cache server before opening unity.
I need to:
set CacheServerMode to 0 (local cache sever)
set LocalCacheServerCustomPath to 1 (custom local cache sever)
set LocalCacheServerPath to my-cache-path
The command to modify the plist key values i used
defaults write $PLIST_PATH kAutoRefresh "0" //This would change Auto Refresh to false
defaults read $PLIST_PATH
The changes seems to be applying but when i open Unity the values are changed. Is it possible to modify it or unity loads another plist every time?
it seems that if you chown and chmod the files even when you su root in terminal it doesn’t seem to apply the permissions. You have to manually login to the root account on the system and edit the changes from there. Then of course as mentioned above restart the computer when you apply changes to the /Library/Preferences .plist.