aidevops 3.22.6 → 3.22.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/VERSION +1 -1
- package/aidevops.sh +1 -1
- package/package.json +1 -1
- package/packages/gui-desktop/scripts/install-macos-app.sh +2 -1
- package/setup.sh +23 -2
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ The result: an AI operations platform that manages projects across every busines
|
|
|
58
58
|
[](https://github.com/marcusquinn)
|
|
59
59
|
|
|
60
60
|
<!-- Release & Version Info -->
|
|
61
|
-
[](https://github.com/marcusquinn/aidevops/releases)
|
|
62
62
|
[](https://www.npmjs.com/package/aidevops)
|
|
63
63
|
[](https://github.com/marcusquinn/homebrew-tap)
|
|
64
64
|
[](https://github.com/marcusquinn/aidevops)
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.22.
|
|
1
|
+
3.22.7
|
package/aidevops.sh
CHANGED
package/package.json
CHANGED
|
@@ -9,6 +9,7 @@ DEFAULT_APP_DIR="/Applications"
|
|
|
9
9
|
|
|
10
10
|
usage() {
|
|
11
11
|
printf 'Usage: %s [--check] [--app-dir DIR]\n' "$0"
|
|
12
|
+
printf 'Environment: AIDEVOPS_GUI_DESKTOP_APP_DIR overrides the default app directory.\n'
|
|
12
13
|
return 0
|
|
13
14
|
}
|
|
14
15
|
|
|
@@ -991,7 +992,7 @@ PLIST
|
|
|
991
992
|
|
|
992
993
|
main() {
|
|
993
994
|
local mode="install"
|
|
994
|
-
local app_dir="$DEFAULT_APP_DIR"
|
|
995
|
+
local app_dir="${AIDEVOPS_GUI_DESKTOP_APP_DIR:-$DEFAULT_APP_DIR}"
|
|
995
996
|
local root=""
|
|
996
997
|
|
|
997
998
|
while [[ $# -gt 0 ]]; do
|
package/setup.sh
CHANGED
|
@@ -12,7 +12,7 @@ shopt -s inherit_errexit 2>/dev/null || true
|
|
|
12
12
|
# AI Assistant Server Access Framework Setup Script
|
|
13
13
|
# Helps developers set up the framework for their infrastructure
|
|
14
14
|
#
|
|
15
|
-
# Version: 3.22.
|
|
15
|
+
# Version: 3.22.7
|
|
16
16
|
#
|
|
17
17
|
# Quick Install:
|
|
18
18
|
# npm install -g aidevops && aidevops update (recommended)
|
|
@@ -458,8 +458,20 @@ _setup_gui_desktop_install_opted_in() {
|
|
|
458
458
|
return 1
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
+
_setup_gui_desktop_app_dir() {
|
|
462
|
+
printf '%s' "${AIDEVOPS_GUI_DESKTOP_APP_DIR:-/Applications}"
|
|
463
|
+
return 0
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
_setup_gui_desktop_app_exists() {
|
|
467
|
+
local app_dir="$1"
|
|
468
|
+
[[ -d "${app_dir}/${SETUP_GUI_APP_NAME}" ]]
|
|
469
|
+
return $?
|
|
470
|
+
}
|
|
471
|
+
|
|
461
472
|
setup_gui_desktop_app() {
|
|
462
473
|
local installer="${INSTALL_DIR}/packages/gui-desktop/scripts/install-macos-app.sh"
|
|
474
|
+
local app_dir=""
|
|
463
475
|
local os=""
|
|
464
476
|
local rc=0
|
|
465
477
|
|
|
@@ -476,7 +488,8 @@ setup_gui_desktop_app() {
|
|
|
476
488
|
return 0
|
|
477
489
|
fi
|
|
478
490
|
|
|
479
|
-
|
|
491
|
+
app_dir="$(_setup_gui_desktop_app_dir)"
|
|
492
|
+
bash "$installer" --app-dir "$app_dir" || rc=$?
|
|
480
493
|
if [[ "$rc" -eq 0 ]]; then
|
|
481
494
|
setup_track_configured "$SETUP_GUI_APP_NAME"
|
|
482
495
|
return 0
|
|
@@ -489,12 +502,20 @@ setup_gui_desktop_app() {
|
|
|
489
502
|
|
|
490
503
|
_setup_offer_gui_desktop_app() {
|
|
491
504
|
local answer=""
|
|
505
|
+
local app_dir=""
|
|
492
506
|
|
|
493
507
|
if _setup_gui_desktop_install_opted_in; then
|
|
494
508
|
setup_gui_desktop_app
|
|
495
509
|
return 0
|
|
496
510
|
fi
|
|
497
511
|
|
|
512
|
+
app_dir="$(_setup_gui_desktop_app_dir)"
|
|
513
|
+
if [[ "$(uname -s)" == "$SETUP_OS_DARWIN" ]] && _setup_gui_desktop_app_exists "$app_dir"; then
|
|
514
|
+
print_info "Refreshing existing macOS ${SETUP_GUI_APP_NAME} in ${app_dir}"
|
|
515
|
+
setup_gui_desktop_app
|
|
516
|
+
return 0
|
|
517
|
+
fi
|
|
518
|
+
|
|
498
519
|
if [[ "$INTERACTIVE_MODE" == "true" ]]; then
|
|
499
520
|
echo ""
|
|
500
521
|
echo -e "${YELLOW}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
|