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
# Update dependencies | |
echo "Updating dependencies..." | |
apt-get update | |
apt update | |
# Ask for GitHub source code URL | |
echo "\nWhat is the URL of your GitHub public repo that you want to deploy?\n" | |
read url | |
source_code="$url.git" |
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
#!/usr/bin/env bash | |
# Store icon and AppImage in variable | |
icon_path=$HOME/Downloads/<YOUR_LOGO_FILE_NAME>.png | |
exec_path=$HOME/Downloads/<YOUR_APPIMAGE_FILE_NAME> | |
# Copy both files | |
cp $icon_path ~/.local/share/applications/ | |
cp $exec_path ~/.local/share/applications/ | |
# Create a Desktop Entry file |