Complete Ultroid update system modernization and addon fixes
- Enhanced update_script.py with better error handling and restart logic - Fixed update command in plugins/bot.py to default to user's fork - Improved update command help and interactive options - Fixed import errors in addons/snips.py and addons/tag.py - All update operations now default to user's fork unless 'original' specified - Added reliable external script-based update mechanism - Ensured proper shutdown/restart cycle for updates
This commit is contained in:
@@ -429,10 +429,10 @@ Note: Use `{tr}setrepo <your_fork_url>` to update from your own fork."""
|
||||
is_original = "original" in args
|
||||
|
||||
repo_url = (
|
||||
"https://github.com/ThePrateekBhatia/Ultroid"
|
||||
"https://github.com/ThePrateekBhatia/Ultroid.git"
|
||||
if is_original
|
||||
else udB.get_key("UPSTREAM_REPO")
|
||||
or "https://github.com/ThePrateekBhatia/Ultroid"
|
||||
or "https://github.com/overspend1/Ultroid-fork.git"
|
||||
)
|
||||
|
||||
if is_now:
|
||||
|
||||
Reference in New Issue
Block a user