Technician tool v0.1
Imported from the Google Drive folder 004-technician_tool/v0.1.
This commit is contained in:
commit
e5a33a1c34
28 files changed
+2988
No files matched your search
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
# Double-click in Finder, or run: bash run_macos.command
|
||||
cd "$(dirname "$0")" || exit 1
|
||||
|
||||
# Keep the virtual environment out of the (Google Drive) tool folder.
|
||||
export UV_PROJECT_ENVIRONMENT="$HOME/Library/Caches/KotaTechnicianTool/venv-0.1"
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
if ! command -v uv >/dev/null 2>&1; then
|
||||
echo "uv (Python package runner) is not installed."
|
||||
echo "It will be installed for the current user from https://astral.sh/uv"
|
||||
read -r -p "Install uv now? [y/N] " answer
|
||||
[[ "$answer" =~ ^[Yy]$ ]] || exit 1
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh || { echo "uv installation failed."; exit 1; }
|
||||
fi
|
||||
|
||||
echo "Starting KOTA Sensorbox Technician Tool (first start downloads dependencies)..."
|
||||
uv run --frozen --no-dev --python 3.12 python -m kota_tech || read -r -p "Press Enter to close..."
|
||||
Reference in new issue
Block a user