Last active
October 28, 2019 06:33
-
-
Save ikhsanalatsary/6f40f420f063e7c7d7d46b4a482b76f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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