mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-24 01:33:50 +08:00
dragonpilot beta3
date: 2023-07-26T22:20:36 commit: c6d842c412052be1985b63d683c63be9dcb2b0eb
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+1
-11
@@ -2,14 +2,4 @@
|
||||
cd "$(dirname "$0")"
|
||||
export LD_LIBRARY_PATH="/system/lib64:$LD_LIBRARY_PATH"
|
||||
export QT_DBL_CLICK_DIST=150
|
||||
if [ -f /data/params/d/dp_nav ]; then
|
||||
NAV=`cat /data/params/d/dp_nav`
|
||||
else
|
||||
NAV="0"
|
||||
fi
|
||||
|
||||
if [ $NAV == "0" ] && [ -f /data/openpilot/selfdrive/ui/_ui_nonav ]; then
|
||||
exec ./_ui_nonav
|
||||
else
|
||||
exec ./_ui
|
||||
fi
|
||||
exec ./_ui
|
||||
|
||||
@@ -3,13 +3,9 @@ import argparse
|
||||
import json
|
||||
import os
|
||||
|
||||
try:
|
||||
from common.basedir import BASEDIR
|
||||
|
||||
UI_DIR = os.path.join(BASEDIR, "selfdrive", "ui")
|
||||
except ModuleNotFoundError:
|
||||
UI_DIR = os.path.join("", "selfdrive", "ui")
|
||||
from common.basedir import BASEDIR
|
||||
|
||||
UI_DIR = os.path.join(BASEDIR, "selfdrive", "ui")
|
||||
TRANSLATIONS_DIR = os.path.join(UI_DIR, "translations")
|
||||
LANGUAGES_FILE = os.path.join(TRANSLATIONS_DIR, "languages.json")
|
||||
TRANSLATIONS_INCLUDE_FILE = os.path.join(TRANSLATIONS_DIR, "alerts_generated.h")
|
||||
|
||||
Reference in New Issue
Block a user