This commit is contained in:
Heavybullets8 2022-07-28 14:07:38 -06:00
parent 21baeaf4d8
commit 3bd0543fc5

View File

@ -4,7 +4,7 @@ args=("$@")
self_update() { self_update() {
git fetch &> /dev/null git fetch &> /dev/null
echo "🅂 🄴 🄻 🄵 🅄 🄿 🄳 🄰 🅃 🄴 :" echo "🅂 🄴 🄻 🄵 🅄 🄿 🄳 🄰 🅃 🄴 :"
# TODO: change beta to main once testing is complete # TODO: change beta to main once testing is complete
if git diff --name-only origin/beta | grep -qs ".sh" ; then if git diff --name-only origin/beta | grep -qs ".sh" ; then
echo "Found a new version of HeavyScript, updating myself..." echo "Found a new version of HeavyScript, updating myself..."
git reset --hard -q git reset --hard -q