mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-19 18:13:57 +08:00
13 lines
309 B
Bash
Executable File
13 lines
309 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
|
|
|
|
export LD_LIBRARY_PATH="/system/lib64:$LD_LIBRARY_PATH"
|
|
exec ./qt/text "$1"
|