From 8e0d9198c406213f417c19d186c07fad8d3628ec Mon Sep 17 00:00:00 2001 From: Moses Turner Date: Fri, 18 Mar 2022 05:06:32 -0500 Subject: [PATCH] scripts: Add script to update hand-tracking models --- scripts/update-ht-models.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/update-ht-models.sh diff --git a/scripts/update-ht-models.sh b/scripts/update-ht-models.sh new file mode 100755 index 000000000..738fd1e69 --- /dev/null +++ b/scripts/update-ht-models.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# Copyright 2021, Collabora, Ltd. +# SPDX-License-Identifier: BSL-1.0 +# Author: Moses Turner + +if ! type "git-lfs" > /dev/null; then + echo "Install git-lfs!" + exit +fi + +cd ~/.local/share/monado/hand-tracking-models +git pull