change self-update from beta to main
This commit is contained in:
parent
d6478da3eb
commit
dd598adf60
@ -4,8 +4,7 @@ args=("$@")
|
||||
self_update() {
|
||||
git fetch &> /dev/null
|
||||
echo "🅂 🄴 🄻 🄵 🅄 🄿 🄳 🄰 🅃 🄴"
|
||||
# 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/main | grep -qs ".sh" ; then
|
||||
echo "Found a new version of HeavyScript, updating myself..."
|
||||
git reset --hard -q
|
||||
git pull --force -q
|
||||
|
Loading…
Reference in New Issue
Block a user