I can run this script to open a Finder windows with root privileges but when I close it, the Finder icon on my Dock displays Finder as being closed, yet I know it is open because I can open new Finder windows, and the Desktop works.
Does anyone have any suggestions to change my script so that it displays the Dock icon correctly. Preferably without adding 'killall Dock', as I hate to keep closing my Dock. But to add, killing the Dock seems to correct this problem, until I open a new Root Finder, using the script.
Script:
Does anyone have any suggestions to change my script so that it displays the Dock icon correctly. Preferably without adding 'killall Dock', as I hate to keep closing my Dock. But to add, killing the Dock seems to correct this problem, until I open a new Root Finder, using the script.
Script:
Code:
sudo /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder