diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..84fd93d --- /dev/null +++ b/install.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash +# Fast Installer for Zupt - GNU/Linux + +set -e + +echo "๐Ÿ”ง Installing Zupt..." + +# Create temporary directory +TMP_DIR=$(mktemp -d) + +# Clone and build +git clone https://github.com/cristiancmoises/zupt.git "$TMP_DIR/zupt" +cd "$TMP_DIR/zupt" + +make clean +make + +# Install +sudo make install + +echo "โœ… Zupt successfully installed to /usr/local/bin/zupt" +echo "๐Ÿ”’ You can now run: zupt" + +# Cleanup +cd ~ +rm -rf "$TMP_DIR" +echo "๐Ÿงน Cleanup completed"