diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cd53a9b --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.venv +env + diff --git a/mac/common-utils.sh b/mac/common-utils.sh index d8b561f..6a45a57 100644 --- a/mac/common-utils.sh +++ b/mac/common-utils.sh @@ -178,7 +178,6 @@ upload_custom_app() { export APP_PLATFORM="$app_platform" log_msg_to "Exported APP_PLATFORM=$APP_PLATFORM" - return 0 } # ===== Dynamic config generators ===== diff --git a/mac/detect-os.sh b/mac/detect-os.sh deleted file mode 100644 index 30ccd34..0000000 --- a/mac/detect-os.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -detect_os() { - local unameOut="" - unameOut="$(uname -s 2>/dev/null | tr '[:upper:]' '[:lower:]')" - local response="" - case "$unameOut" in - linux*) - # Detect WSL vs normal Linux - if grep -qi "microsoft" /proc/version 2>/dev/null; then - response="wsl" - else - response="linux" - fi - ;; - darwin*) - response="macos" - ;; - msys*|mingw*|cygwin*) - response="windows" - ;; - *) - response="unknown" - ;; - esac - echo "OS is: $response" - export NOW_OS=$response -} - -detect_os - diff --git a/mac/device-machine-allocation.sh b/mac/device-machine-allocation.sh index 8a416c2..69b9512 100644 --- a/mac/device-machine-allocation.sh +++ b/mac/device-machine-allocation.sh @@ -77,7 +77,7 @@ pick_terminal_devices() { # Check for valid input # --------------------------- if [[ -z "$platformName" || -z "$count" ]]; then - log_msg_to "Platform name for parallel count is invalid: $0 $platformName $count" + log_msg_to "Platform name for parallel count is invalid: $platformName $count" return 1 fi