anyconnect-dark icon indicating copy to clipboard operation
anyconnect-dark copied to clipboard

Normal mode??

Open kingbuzzman opened this issue 7 years ago • 0 comments

Can you make a set of icons for normal mode.

ps. This script is better.

It backs up the images there downloads your zip, extracts and installs. I leave everything inside /tmp since that will get cleaned up by the OS when its needed

cd /Applications/Cisco/Cisco\ AnyConnect\ Secure\ Mobility\ Client.app/Contents/Resources/; sudo mv anyconnect_16.tiff _anyconnect_16.tiff; sudo mv vpnlock_12.tiff _vpnlock_12.tiff; (curl -Ls https://github.com/leebyron/anyconnect-dark/raw/master/Resources.zip > /tmp/Resources.zip && unzip -o -d /tmp/ /tmp/Resources.zip && sudo mv /tmp/Resources/*.png .); cd -

Breakdown: cd /Applications/Cisco/Cisco\ AnyConnect\ Secure\ Mobility\ Client.app/Contents/Resources/ Go to the dirrectory in question sudo mv anyconnect_16.tiff _anyconnect_16.tiff Back up the anyconnect image sudo mv vpnlock_12.tiff _vpnlock_12.tiff Back up the anyconnect image (curl -Ls https://github.com/leebyron/anyconnect-dark/raw/master/Resources.zip > /tmp/Resources.zip && unzip -o -d /tmp/ /tmp/Resources.zip && sudo mv /tmp/Resources/*.png .) Download the file, unzip it, and move it to current dirrectory cd - Back to the directory you where in before you ran the command

... if you're wondering why the (curl ... && ...) and the rest have ;: simple, if any of that part fails we dont want it to continue BUT, we still want it to run cd - so youre not stuck inside the Cisco/Resources directory

kingbuzzman avatar Jun 14 '17 08:06 kingbuzzman