mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-13 08:52:06 +08:00
20 lines
416 B
Bash
Executable File
20 lines
416 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -f /EON ] && [ ! -f qt/text ]; then
|
|
cp qt/text_aarch64 qt/text
|
|
elif [ -f /TICI ] && [ ! -f qt/text ]; then
|
|
cp qt/text_larch64 qt/text
|
|
elif [ -f /JETSON ] && [ ! -f qt/text ]; then
|
|
cp qt/text_larch64 qt/text
|
|
fi
|
|
|
|
if [ ! -f /JETSON ]; then
|
|
export LD_LIBRARY_PATH="/system/lib64:$LD_LIBRARY_PATH"
|
|
fi
|
|
#exec ./qt/text "$1"
|
|
if [ -f /TICI ]; then
|
|
exec ./qt/text_c3 "$1"
|
|
else
|
|
exec ./qt/text "$1"
|
|
fi
|