mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-16 10:22:07 +08:00
20 lines
452 B
Bash
Executable File
20 lines
452 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -f /EON ] && [ ! -f qt/spinner ]; then
|
|
cp qt/spinner_aarch64 qt/spinner
|
|
elif [ -f /TICI ] && [ ! -f qt/spinner ]; then
|
|
cp qt/spinner_larch64 qt/spinner
|
|
elif [ -f /JETSON ] && [ ! -f qt/spinner ]; then
|
|
cp qt/spinner_larch64 qt/spinner
|
|
fi
|
|
if [ ! -f /JETSON ]; then
|
|
export LD_LIBRARY_PATH="/system/lib64:$LD_LIBRARY_PATH"
|
|
fi
|
|
#exec ./qt/spinner "$1"
|
|
|
|
if [ -f /TICI ]; then
|
|
exec ./qt/spinner_c3 "$1"
|
|
else
|
|
exec ./qt/spinner "$1"
|
|
fi
|