fix spinner asset paths (#31524)

This commit is contained in:
Adeeb Shihadeh
2024-02-20 18:01:28 -08:00
committed by GitHub
parent 1c794b710c
commit 27c56722cc
4 changed files with 11 additions and 10 deletions

View File

@@ -3,12 +3,13 @@ moc_*
translations/main_test_en.*
_text
_spinner
ui
mui
watch3
installer/installers/*
qt/text
qt/spinner
qt/setup/setup
qt/setup/reset
qt/setup/wifi

View File

@@ -72,8 +72,8 @@ asset_obj = qt_env.Object("assets", assets)
qt_env.SharedLibrary("qt/python_helpers", ["qt/qt_window.cc"], LIBS=qt_libs)
# spinner and text window
qt_env.Program("qt/text", ["qt/text.cc"], LIBS=qt_libs)
qt_env.Program("qt/spinner", ["qt/spinner.cc"], LIBS=qt_libs)
qt_env.Program("_text", ["qt/text.cc"], LIBS=qt_libs)
qt_env.Program("_spinner", ["qt/spinner.cc"], LIBS=qt_libs)
# build main UI
qt_env.Program("ui", qt_src + [asset_obj], LIBS=qt_libs)

View File

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

View File

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