mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-23 15:53:36 +05:00
Compare commits
3 Commits
0731bc3b9e
...
383aa6fa4e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
383aa6fa4e | ||
|
|
b6c6edb622 | ||
|
|
6a766f7882 |
@@ -358,6 +358,7 @@ function get_usb_id() {
|
|||||||
unset mcu_list
|
unset mcu_list
|
||||||
sleep 1
|
sleep 1
|
||||||
mcus=$(find /dev/serial/by-id/* 2>/dev/null)
|
mcus=$(find /dev/serial/by-id/* 2>/dev/null)
|
||||||
|
mcus+=" $(find /dev/serial/by-path/* 2>/dev/null)"
|
||||||
|
|
||||||
for mcu in ${mcus}; do
|
for mcu in ${mcus}; do
|
||||||
mcu_list+=("${mcu}")
|
mcu_list+=("${mcu}")
|
||||||
|
|||||||
@@ -61,8 +61,8 @@ function mobileraker_setup() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
status_msg "Installing Mobileraker's companion ..."
|
status_msg "Starting installer of Mobileraker's companion ..."
|
||||||
if "${MOBILERAKER_DIR}"/scripts/install-mobileraker-companion.sh; then
|
if "${MOBILERAKER_DIR}"/scripts/install.sh; then
|
||||||
ok_msg "Mobileraker's companion successfully installed!"
|
ok_msg "Mobileraker's companion successfully installed!"
|
||||||
else
|
else
|
||||||
print_error "Mobileraker's companion installation failed!"
|
print_error "Mobileraker's companion installation failed!"
|
||||||
@@ -233,7 +233,7 @@ primary_branch:main
|
|||||||
managed_services: mobileraker
|
managed_services: mobileraker
|
||||||
env: ${HOME}/mobileraker-env/bin/python
|
env: ${HOME}/mobileraker-env/bin/python
|
||||||
requirements: scripts/mobileraker-requirements.txt
|
requirements: scripts/mobileraker-requirements.txt
|
||||||
install_script: scripts/install-mobileraker-companion.sh
|
install_script: scripts/install.sh
|
||||||
MOONRAKER_CONF
|
MOONRAKER_CONF
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user