This commit is contained in:
Your Name
2024-04-27 23:15:56 -05:00
parent 72e8bd8589
commit 5307c44635
5 changed files with 10 additions and 6 deletions

View File

@@ -0,0 +1,3 @@
example of using stdin and stdout as a message buffer:
selfdrive/manager/build.py

View File

@@ -53,6 +53,7 @@ def build(spinner: Spinner, dirty: bool = False, minimal: bool = False) -> None:
pass pass
if scons.returncode == 0: if scons.returncode == 0:
Path('/data/openpilot/prebuilt').touch()
break break
if scons.returncode != 0: if scons.returncode != 0:

View File

@@ -76,9 +76,9 @@ Sidebar::Sidebar(QWidget *parent) : QFrame(parent), onroad(false), flag_pressed(
themeConfiguration = { themeConfiguration = {
{0, {"stock", {QColor(255, 255, 255)}}}, {0, {"stock", {QColor(255, 255, 255)}}},
{1, {"frog_theme", {QColor(23, 134, 68)}}}, {1, {"frog_theme", {QColor(255, 255, 255)}}},
{2, {"tesla_theme", {QColor(0, 72, 255)}}}, {2, {"tesla_theme", {QColor(255, 255, 255)}}},
{3, {"stalin_theme", {QColor(255, 0, 0)}}} {3, {"stalin_theme", {QColor(255, 255, 255)}}}
}; };
for (auto &[key, themeData] : themeConfiguration) { for (auto &[key, themeData] : themeConfiguration) {

View File

@@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
if [ -f /TICI ] && [ ! -f _spinner ]; then if [ -f /TICI ] && [ ! -f qt/spinner ]; then
cp qt/spinner_larch64 _spinner cp qt/spinner_larch64 qt/spinner
fi fi
exec ./_spinner "$1" exec ./qt/spinner "$1"