From 1c702b28ba62d3cc75c27b9b202f47346590e862 Mon Sep 17 00:00:00 2001 From: EliaOnceAgain Date: Mon, 2 May 2022 02:35:06 +0300 Subject: [PATCH] Build: Include install-infection-monkey-service.sh in the AppImage --- build_scripts/appimage/appimage.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build_scripts/appimage/appimage.sh b/build_scripts/appimage/appimage.sh index e5c6b97bf..16652c081 100755 --- a/build_scripts/appimage/appimage.sh +++ b/build_scripts/appimage/appimage.sh @@ -38,6 +38,7 @@ setup_build_dir() { copy_monkey_island_to_build_dir "$monkey_repo/monkey" "$BUILD_DIR" copy_server_config_to_build_dir + copy_infection_monkey_service_to_build_dir modify_deployment "$deployment_type" "$BUILD_DIR" add_agent_binaries_to_build_dir "$agent_binary_dir" "$BUILD_DIR" @@ -64,8 +65,12 @@ setup_python_37_appdir() { rm "$PYTHON_APPIMAGE" } +copy_infection_monkey_service_to_build_dir() { + cp "$APPIMAGE_DIR"/install-infection-monkey-service.sh "$APPDIR" +} + copy_server_config_to_build_dir() { - cp "$APPIMAGE_DIR"/server_config.json.standard "$BUILD_DIR"/monkey_island/cc/server_config.json + cp "$APPIMAGE_DIR"/server_config.json.standard "$BUILD_DIR"/monkey_island/cc/server_config.json } install_monkey_island_python_dependencies() {