Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normal mode?? #2

Open
kingbuzzman opened this issue Jun 14, 2017 · 0 comments
Open

Normal mode?? #2

kingbuzzman opened this issue Jun 14, 2017 · 0 comments

Comments

@kingbuzzman
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant