Update 6.0.0
This commit is contained in:
parent
bb0b7539a0
commit
c8db437b79
63 changed files with 3667 additions and 737 deletions
|
@ -33,7 +33,7 @@ function customize_menu_ke() {
|
|||
case "${customize_menu_opt}" in
|
||||
1)
|
||||
if [ ! -d "$FLUIDD_FOLDER" ] && [ ! -d "$MAINSAIL_FOLDER" ]; then
|
||||
error_msg "Fluidd or Mainsail is needed, please install it first!"
|
||||
error_msg "Fluidd or Mainsail is needed, please install one of them first!"
|
||||
elif [ ! -f "$CREALITY_WEB_FILE" ]; then
|
||||
error_msg "Creality Web Interface is already removed!"
|
||||
echo -e " ${darkred}Please restore Creality Web Interface first if you want to change the default Web Interface.${white}"
|
||||
|
|
|
@ -45,11 +45,12 @@ function info_menu_ui_ke() {
|
|||
subtitle '•IMPROVEMENTS:'
|
||||
info_line "$(check_folder_ke "$IMP_SHAPERS_FOLDER")" 'Improved Shapers Calibrations'
|
||||
info_line "$(check_file_ke "$SAVE_ZOFFSET_FILE")" 'Save Z-Offset Macros'
|
||||
info_line "$(check_file_ke "$VIRTUAL_PINS_FILE")" 'Virtual Pins Support'
|
||||
info_line "$(check_file_ke "$GIT_BACKUP_FILE")" 'Git Backup'
|
||||
hr
|
||||
subtitle '•CAMERA:'
|
||||
info_line "$(check_file_ke "$TIMELAPSE_FILE")" 'Moonraker Timelapse'
|
||||
info_line "$(check_file_ke "$CAMERA_SETTINGS_FILE")" 'Nebula Camera Settings Control'
|
||||
info_line "$(check_file_ke "$USB_CAMERA_FILE")" 'USB Camera Support'
|
||||
hr
|
||||
subtitle '•REMOTE ACCESS:'
|
||||
info_line "$(check_folder_ke "$OCTOEVERYWHERE_FOLDER")" 'OctoEverywhere'
|
||||
|
|
|
@ -19,19 +19,20 @@ function install_menu_ui_ke() {
|
|||
subtitle '•IMPROVEMENTS:'
|
||||
menu_option ' 6' 'Install' 'Improved Shapers Calibrations'
|
||||
menu_option ' 7' 'Install' 'Save Z-Offset Macros'
|
||||
menu_option ' 8' 'Install' 'Virtual Pins Support'
|
||||
menu_option ' 9' 'Install' 'Git Backup'
|
||||
menu_option ' 8' 'Install' 'Git Backup'
|
||||
hr
|
||||
subtitle '•CAMERA:'
|
||||
menu_option '10' 'Install' 'Moonraker Timelapse'
|
||||
menu_option ' 9' 'Install' 'Moonraker Timelapse'
|
||||
menu_option '10' 'Install' 'Nebula Camera Settings Control'
|
||||
menu_option '11' 'Install' 'USB Camera Support'
|
||||
hr
|
||||
subtitle '•REMOTE ACCESS:'
|
||||
menu_option '11' 'Install' 'OctoEverywhere'
|
||||
menu_option '12' 'Install' 'Moonraker Obico'
|
||||
menu_option '13' 'Install' 'GuppyFLO'
|
||||
menu_option '14' 'Install' 'Mobileraker Companion'
|
||||
menu_option '15' 'Install' 'OctoApp Companion'
|
||||
menu_option '16' 'Install' 'SimplyPrint'
|
||||
menu_option '12' 'Install' 'OctoEverywhere'
|
||||
menu_option '13' 'Install' 'Moonraker Obico'
|
||||
menu_option '14' 'Install' 'GuppyFLO'
|
||||
menu_option '15' 'Install' 'Mobileraker Companion'
|
||||
menu_option '16' 'Install' 'OctoApp Companion'
|
||||
menu_option '17' 'Install' 'SimplyPrint'
|
||||
hr
|
||||
inner_line
|
||||
hr
|
||||
|
@ -100,12 +101,6 @@ function install_menu_ke() {
|
|||
run "install_save_zoffset_macros" "install_menu_ui_ke"
|
||||
fi;;
|
||||
8)
|
||||
if [ -f "$VIRTUAL_PINS_FILE" ]; then
|
||||
error_msg "Virtual Pins Support is already installed!"
|
||||
else
|
||||
run "install_virtual_pins" "install_menu_ui_ke"
|
||||
fi;;
|
||||
9)
|
||||
if [ -f "$GIT_BACKUP_FILE" ]; then
|
||||
error_msg "Git Backup is already installed!"
|
||||
elif [ ! -f "$ENTWARE_FILE" ]; then
|
||||
|
@ -115,7 +110,7 @@ function install_menu_ke() {
|
|||
else
|
||||
run "install_git_backup" "install_menu_ui_ke"
|
||||
fi;;
|
||||
10)
|
||||
9)
|
||||
if [ -f "$TIMELAPSE_FILE" ]; then
|
||||
error_msg "Moonraker Timelapse is already installed!"
|
||||
elif [ ! -f "$ENTWARE_FILE" ]; then
|
||||
|
@ -123,65 +118,85 @@ function install_menu_ke() {
|
|||
else
|
||||
run "install_moonraker_timelapse" "install_menu_ui_ke"
|
||||
fi;;
|
||||
10)
|
||||
if [ -f "$CAMERA_SETTINGS_FILE" ]; then
|
||||
error_msg "Nebula Camera Settings Control is already installed!"
|
||||
elif ! v4l2-ctl --list-devices | grep -q 'CCX2F3298'; then
|
||||
error_msg "Nebula camera not detected, please plug it in!"
|
||||
elif [ ! -f "$KLIPPER_SHELL_FILE" ]; then
|
||||
error_msg "Klipper Gcode Shell Command is needed, please install it first!"
|
||||
else
|
||||
run "install_camera_settings_control" "install_menu_ui_ke"
|
||||
fi;;
|
||||
11)
|
||||
if [ -f "$USB_CAMERA_FILE" ]; then
|
||||
error_msg "Camera USB Support is already installed!"
|
||||
elif v4l2-ctl --list-devices | grep -qE 'CREALITY|CCX2F3298'; then
|
||||
error_msg "It looks like you are using a Creality camera and it's not compatible!"
|
||||
elif [ ! -f "$ENTWARE_FILE" ]; then
|
||||
error_msg "Entware is needed, please install it first!"
|
||||
else
|
||||
run "install_usb_camera" "install_menu_ui_ke"
|
||||
fi;;
|
||||
12)
|
||||
if [ -d "$OCTOEVERYWHERE_FOLDER" ]; then
|
||||
error_msg "OctoEverywhere is already installed!"
|
||||
elif [ ! -d "$MOONRAKER_FOLDER" ]; then
|
||||
error_msg "Moonraker and Nginx are needed, please install them first!"
|
||||
elif [ ! -d "$FLUIDD_FOLDER" ] && [ ! -d "$MAINSAIL_FOLDER" ]; then
|
||||
error_msg "Fluidd or Mainsail is needed, please install it first!"
|
||||
error_msg "Fluidd or Mainsail is needed, please install one of them first!"
|
||||
elif [ ! -f "$ENTWARE_FILE" ]; then
|
||||
error_msg "Entware is needed, please install it first!"
|
||||
else
|
||||
run "install_octoeverywhere" "install_menu_ui_ke"
|
||||
fi;;
|
||||
12)
|
||||
13)
|
||||
if [ -d "$MOONRAKER_OBICO_FOLDER" ]; then
|
||||
error_msg "Moonraker Obico is already installed!"
|
||||
elif [ ! -d "$MOONRAKER_FOLDER" ]; then
|
||||
error_msg "Moonraker and Nginx are needed, please install them first!"
|
||||
elif [ ! -d "$FLUIDD_FOLDER" ] && [ ! -d "$MAINSAIL_FOLDER" ]; then
|
||||
error_msg "Fluidd or Mainsail is needed, please install it first!"
|
||||
error_msg "Fluidd or Mainsail is needed, please install one of them first!"
|
||||
elif [ ! -f "$ENTWARE_FILE" ]; then
|
||||
error_msg "Entware is needed, please install it first!"
|
||||
else
|
||||
run "install_moonraker_obico" "install_menu_ui_ke"
|
||||
fi;;
|
||||
13)
|
||||
14)
|
||||
if [ ! -d "$MOONRAKER_FOLDER" ] && [ ! -d "$NGINX_FOLDER" ]; then
|
||||
error_msg "Moonraker and Nginx are needed, please install them first!"
|
||||
else
|
||||
run "install_guppyflo" "install_menu_ui_ke"
|
||||
fi;;
|
||||
14)
|
||||
15)
|
||||
if [ -d "$MOBILERAKER_COMPANION_FOLDER" ]; then
|
||||
error_msg "Mobileraker Companion is already installed!"
|
||||
elif [ ! -d "$MOONRAKER_FOLDER" ]; then
|
||||
error_msg "Moonraker and Nginx are needed, please install them first!"
|
||||
elif [ ! -d "$FLUIDD_FOLDER" ] && [ ! -d "$MAINSAIL_FOLDER" ]; then
|
||||
error_msg "Fluidd or Mainsail is needed, please install it first!"
|
||||
error_msg "Fluidd or Mainsail is needed, please install one of them first!"
|
||||
else
|
||||
run "install_mobileraker_companion" "install_menu_ui_ke"
|
||||
fi;;
|
||||
15)
|
||||
16)
|
||||
if [ -d "$OCTOAPP_COMPANION_FOLDER" ]; then
|
||||
error_msg "OctoApp Companion is already installed!"
|
||||
elif [ ! -d "$MOONRAKER_FOLDER" ]; then
|
||||
error_msg "Moonraker and Nginx are needed, please install them first!"
|
||||
elif [ ! -d "$FLUIDD_FOLDER" ] && [ ! -d "$MAINSAIL_FOLDER" ]; then
|
||||
error_msg "Fluidd or Mainsail is needed, please install it first!"
|
||||
error_msg "Fluidd or Mainsail is needed, please install one of them first!"
|
||||
elif [ ! -f "$ENTWARE_FILE" ]; then
|
||||
error_msg "Entware is needed, please install it first!"
|
||||
else
|
||||
run "install_octoapp_companion" "install_menu_ui_ke"
|
||||
fi;;
|
||||
16)
|
||||
17)
|
||||
if grep -q "\[simplyprint\]" "$MOONRAKER_CFG"; then
|
||||
error_msg "SimplyPrint is already installed!"
|
||||
elif [ ! -d "$MOONRAKER_FOLDER" ]; then
|
||||
error_msg "Moonraker and Nginx are needed, please install them first!"
|
||||
elif [ ! -d "$FLUIDD_FOLDER" ] && [ ! -d "$MAINSAIL_FOLDER" ]; then
|
||||
error_msg "Fluidd or Mainsail is needed, please install it first!"
|
||||
error_msg "Fluidd or Mainsail is needed, please install one of them first!"
|
||||
else
|
||||
run "install_simplyprint" "install_menu_ui_ke"
|
||||
fi;;
|
||||
|
|
|
@ -19,19 +19,20 @@ function remove_menu_ui_ke() {
|
|||
subtitle '•IMPROVEMENTS:'
|
||||
menu_option ' 6' 'Remove' 'Improved Shapers Calibrations'
|
||||
menu_option ' 7' 'Remove' 'Save Z-Offset Macros'
|
||||
menu_option ' 8' 'Remove' 'Virtual Pins Support'
|
||||
menu_option ' 9' 'Remove' 'Git Backup'
|
||||
menu_option ' 8' 'Remove' 'Git Backup'
|
||||
hr
|
||||
subtitle '•CAMERA:'
|
||||
menu_option '10' 'Remove' 'Moonraker Timelapse'
|
||||
menu_option ' 9' 'Remove' 'Moonraker Timelapse'
|
||||
menu_option '10' 'Install' 'Nebula Camera Settings Control'
|
||||
menu_option '11' 'Remove' 'USB Camera Support'
|
||||
hr
|
||||
subtitle '•REMOTE ACCESS:'
|
||||
menu_option '11' 'Remove' 'OctoEverywhere'
|
||||
menu_option '12' 'Remove' 'Moonraker Obico'
|
||||
menu_option '13' 'Remove' 'GuppyFLO'
|
||||
menu_option '14' 'Remove' 'Mobileraker Companion'
|
||||
menu_option '15' 'Remove' 'OctoApp Companion'
|
||||
menu_option '16' 'Remove' 'SimplyPrint'
|
||||
menu_option '12' 'Remove' 'OctoEverywhere'
|
||||
menu_option '13' 'Remove' 'Moonraker Obico'
|
||||
menu_option '14' 'Remove' 'GuppyFLO'
|
||||
menu_option '15' 'Remove' 'Mobileraker Companion'
|
||||
menu_option '16' 'Remove' 'OctoApp Companion'
|
||||
menu_option '17' 'Remove' 'SimplyPrint'
|
||||
hr
|
||||
inner_line
|
||||
hr
|
||||
|
@ -86,6 +87,8 @@ function remove_menu_ke() {
|
|||
error_msg "Entware is needed to use OctoEverywhere, please uninstall it first!"
|
||||
elif [ -d "$MOONRAKER_OBICO_FOLDER" ]; then
|
||||
error_msg "Entware is needed to use Moonraker Obico, please uninstall it first!"
|
||||
elif [ ! -f "$USB_CAMERA_FILE" ]; then
|
||||
error_msg "Entware is needed to use USB Camera Support, please uninstall it first!"
|
||||
else
|
||||
run "remove_entware" "remove_menu_ui_ke"
|
||||
fi;;
|
||||
|
@ -96,7 +99,7 @@ function remove_menu_ke() {
|
|||
error_msg "Klipper Gcode Shell Command is needed to use Guppy Screen, please uninstall it first!"
|
||||
elif [ -d "$IMP_SHAPERS_FOLDER" ]; then
|
||||
error_msg "Klipper Gcode Shell Command is needed to use Improved Shapers Calibrations, please uninstall it first!"
|
||||
elif [ -d "$GIT_BACKUP_FOLDER" ]; then
|
||||
elif [ -f "$GIT_BACKUP_FILE" ]; then
|
||||
error_msg "Klipper Gcode Shell Command is needed to use Git Backup, please uninstall it first!"
|
||||
else
|
||||
run "remove_gcode_shell_command" "remove_menu_ui_ke"
|
||||
|
@ -114,58 +117,64 @@ function remove_menu_ke() {
|
|||
run "remove_save_zoffset_macros" "remove_menu_ui_ke"
|
||||
fi;;
|
||||
8)
|
||||
if [ ! -f "$VIRTUAL_PINS_FILE" ]; then
|
||||
error_msg "Virtual Pins Support is not installed!"
|
||||
else
|
||||
run "remove_virtual_pins" "remove_menu_ui_ke"
|
||||
fi;;
|
||||
9)
|
||||
if [ ! -f "$GIT_BACKUP_FILE" ]; then
|
||||
error_msg "Git Backup is not installed!"
|
||||
else
|
||||
run "remove_git_backup" "remove_menu_ui_ke"
|
||||
fi;;
|
||||
10)
|
||||
9)
|
||||
if [ ! -f "$TIMELAPSE_FILE" ]; then
|
||||
error_msg "Moonraker Timelapse is not installed!"
|
||||
else
|
||||
run "remove_moonraker_timelapse" "remove_menu_ui_ke"
|
||||
fi;;
|
||||
10)
|
||||
if [ ! -f "$CAMERA_SETTINGS_FILE" ]; then
|
||||
error_msg "Nebula Camera Settings Control is not installed!"
|
||||
else
|
||||
run "remove_camera_settings_control" "remove_menu_ui_ke"
|
||||
fi;;
|
||||
11)
|
||||
if [ ! -f "$USB_CAMERA_FILE" ]; then
|
||||
error_msg "USB Camera Support is not installed!"
|
||||
else
|
||||
run "remove_usb_camera" "remove_menu_ui_3v3"
|
||||
fi;;
|
||||
12)
|
||||
if [ ! -d "$OCTOEVERYWHERE_FOLDER" ]; then
|
||||
error_msg "OctoEverywhere is not installed!"
|
||||
else
|
||||
run "remove_octoeverywhere" "remove_menu_ui_ke"
|
||||
fi;;
|
||||
12)
|
||||
13)
|
||||
if [ ! -d "$MOONRAKER_OBICO_FOLDER" ]; then
|
||||
error_msg "Moonraker Obico is not installed!"
|
||||
else
|
||||
run "remove_moonraker_obico" "remove_menu_ui_ke"
|
||||
fi;;
|
||||
13)
|
||||
14)
|
||||
if [ ! -d "$GUPPYFLO_FOLDER" ]; then
|
||||
error_msg "GuppyFLO is not installed!"
|
||||
else
|
||||
run "remove_guppyflo" "remove_menu_ui_ke"
|
||||
fi;;
|
||||
14)
|
||||
15)
|
||||
if [ ! -d "$MOBILERAKER_COMPANION_FOLDER" ]; then
|
||||
error_msg "Mobileraker Companion is not installed!"
|
||||
else
|
||||
run "remove_mobileraker_companion" "remove_menu_ui_ke"
|
||||
fi;;
|
||||
15)
|
||||
16)
|
||||
if [ ! -d "$OCTOAPP_COMPANION_FOLDER" ]; then
|
||||
error_msg "OctoApp Companion is not installed!"
|
||||
else
|
||||
run "remove_octoapp_companion" "remove_menu_ui_ke"
|
||||
fi;;
|
||||
16)
|
||||
17)
|
||||
if ! grep -q "\[simplyprint\]" "$MOONRAKER_CFG"; then
|
||||
error_msg "SimplyPrint is not installed!"
|
||||
else
|
||||
run "remove_simplyprint" "remove_menu_ui"
|
||||
run "remove_simplyprint" "remove_menu_ui_ke"
|
||||
fi;;
|
||||
B|b)
|
||||
clear; main_menu; break;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue