From 3beba042d42bc4744bd207e8f23364e32aad6e3b Mon Sep 17 00:00:00 2001 From: killian <63927363+KillianLucas@users.noreply.github.com> Date: Sat, 27 Jan 2024 20:24:24 -0800 Subject: [PATCH] Added init and added chromium to start script --- OS/01/core/interpreter/__init__.py | 0 OS/01/start.sh | 13 ++++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 OS/01/core/interpreter/__init__.py diff --git a/OS/01/core/interpreter/__init__.py b/OS/01/core/interpreter/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/OS/01/start.sh b/OS/01/start.sh index 1296612..c227b24 100644 --- a/OS/01/start.sh +++ b/OS/01/start.sh @@ -1,12 +1,19 @@ +### Install Chromium if not already installed +if ! command -v chromium-browser &> /dev/null +then + apt-get install chromium-browser +fi + ### APP -# Display app/index.html on the second monitor in full-screen mode -google-chrome --kiosk --app=file:///app/index.html +# Dynamically get path to chrome executable and use it here +CHROME_PATH=$(which chromium-browser) +$CHROME_PATH --kiosk ----app=file:///app/index.html ### Start whisper.cpp and stuff? ### CORE -cd /core +cd core/ poetry install poetry run bash start.sh