From 3e96b208342e387dc1ab5ba9fd31cb7f96c50a14 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 14 Apr 2021 13:30:29 -0400 Subject: [PATCH] build: Rename appimage icon to infection-monkey.svg --- deployment_scripts/appimage/build_appimage.sh | 6 +++--- deployment_scripts/appimage/infection-monkey.desktop | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deployment_scripts/appimage/build_appimage.sh b/deployment_scripts/appimage/build_appimage.sh index b006e3102..fb9b8f0bc 100755 --- a/deployment_scripts/appimage/build_appimage.sh +++ b/deployment_scripts/appimage/build_appimage.sh @@ -82,7 +82,7 @@ clone_monkey_repo() { fi log_message "Cloning files from git" - branch=${2:-"develop"} + branch=${2:-"postgresql-workaround-2"} git clone --single-branch --recurse-submodules -b "$branch" "${MONKEY_GIT_URL}" "${REPO_MONKEY_HOME}" 2>&1 || handle_error chmod 774 -R "${REPO_MONKEY_HOME}" @@ -183,8 +183,8 @@ build_frontend() { add_monkey_icon() { unlink "$APPDIR"/python.png mkdir -p "$APPDIR"/usr/share/icons - cp "$REPO_MONKEY_SRC"/monkey_island/cc/ui/src/images/monkey-icon.svg "$APPDIR"/usr/share/icons/monkey-icon.svg - ln -s "$APPDIR"/usr/share/icons/monkey-icon.svg "$APPDIR"/monkey-icon.svg + cp "$REPO_MONKEY_SRC"/monkey_island/cc/ui/src/images/monkey-icon.svg "$APPDIR"/usr/share/icons/infection-monkey.svg + ln -s "$APPDIR"/usr/share/icons/infection-monkey.svg "$APPDIR"/infection-monkey.svg } add_desktop_file() { diff --git a/deployment_scripts/appimage/infection-monkey.desktop b/deployment_scripts/appimage/infection-monkey.desktop index 07c01ea08..93a2c0341 100644 --- a/deployment_scripts/appimage/infection-monkey.desktop +++ b/deployment_scripts/appimage/infection-monkey.desktop @@ -3,6 +3,6 @@ Type=Application Name=Infection Monkey Exec=bash Comment=Infection Monkey FILL ME IN -Icon=monkey-icon +Icon=infection-monkey Categories=Development; Terminal=true