This commit is contained in:
Heavybullets8 2022-07-26 19:06:57 -06:00
parent 05051adf23
commit 0884c75ec2

View File

@ -8,7 +8,7 @@ script_path=$(dirname "$script")
script_name="heavy_script.sh"
cd "$script_path" || exit
git fetch &> /dev/null
# TODO: change beta to main once testing is complete
if git diff --name-only origin/beta | grep -qs ".sh" ; then
echo "Found a new version of HeavyScript, updating myself..."
git reset --hard -q