Skip to content

Commit

Permalink
feat(octoeverywhere): add OE to the "update all" action (dw-0#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuinnDamerell authored Mar 11, 2023
1 parent 1215446 commit ae9e79c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/octoeverywhere.sh
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,8 @@ function compare_octoeverywhere_versions() {
if [[ ${local_ver} != "${remote_ver}" ]]; then
versions="${yellow}$(printf " %-14s" "${local_ver}")${white}"
versions+="|${green}$(printf " %-13s" "${remote_ver}")${white}"
# Don't do this, since we don't want Kiauh to update us, since we might need package updates.
# add moonraker to application_updates_available in kiauh.ini
# add_to_application_updates "octoeverywhere"
# Add us to the update file, so if the user selects "update all" it includes us.
add_to_application_updates "octoeverywhere"
else
versions="${green}$(printf " %-14s" "${local_ver}")${white}"
versions+="|${green}$(printf " %-13s" "${remote_ver}")${white}"
Expand Down
3 changes: 3 additions & 0 deletions scripts/ui/update_menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ function update_all() {
[[ "${update_arr[*]}" =~ "telegram_bot" ]] && \
echo -e "| ${cyan}● MoonrakerTelegramBot${white} |"

[[ "${update_arr[*]}" =~ "octoeverywhere" ]] && \
echo -e "| ${cyan}● OctoEverywhere${white} |"

[[ "${update_arr[*]}" =~ "system" ]] && \
echo -e "| ${cyan}● System${white} |"

Expand Down

0 comments on commit ae9e79c

Please sign in to comment.