Skip to content

Instantly share code, notes, and snippets.

@ikhsanalatsary
Last active October 28, 2019 06:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ikhsanalatsary/6f40f420f063e7c7d7d46b4a482b76f4 to your computer and use it in GitHub Desktop.
Save ikhsanalatsary/6f40f420f063e7c7d7d46b4a482b76f4 to your computer and use it in GitHub Desktop.
#!/bin/bash
mkdir /tmp/GitEye
sudo unzip -d /tmp/GitEye ~/Downloads/GitEye*.zip
sudo chown -R root:root /tmp/GitEye
sudo mv /tmp/GitEye /opt/GitEye
sudo ln -s /opt/GitEye/GitEye /usr/local/bin/GitEye
sudo rm -rf /tmp/GitEye
#Create a Desktop Entry
cat > ~/.local/share/applications/GitEye.desktop <<EOL
[Desktop Entry]
Encoding=UTF-8
Name=GitEye
Exec=GitEye
Icon=/opt/GitEye/icon.xpm
Terminal=false
Type=Application
Categories=Development;
EOL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment