diff --git a/dependency.lic b/dependency.lic index c60737e984..fd0b943060 100644 --- a/dependency.lic +++ b/dependency.lic @@ -10,7 +10,7 @@ require 'ostruct' require 'digest/sha1' require 'monitor' -$DEPENDENCY_VERSION = '1.7.6' +$DEPENDENCY_VERSION = '1.7.7' $MIN_RUBY_VERSION = '3.2.2' DRINFOMON_IN_CORE_LICH ||= false @@ -206,7 +206,7 @@ class ScriptManager @paste_bin_url = 'https://pastebin.com/api/api_post.php' @firebase_url = 'https://dr-scripts.firebaseio.com/' @status_repo = Settings['status_repo'] || 'rpherbig/dr-scripts' - @status_branch = Settings['status_branch'] || 'master' + @status_branch = Settings['status_branch'] || 'main' update_status_url # Gating setting lich_url on lich version @@ -244,11 +244,11 @@ class ScriptManager def update_status_url defaulturl = 'https://api.github.com/repos/' + @status_repo + '/git/trees/' + @status_branch mainurl = 'https://api.github.com/repos/rpherbig/dr-scripts/git/trees/main' - fallbackurl = 'https://api.github.com/repos/rpherbig/dr-scripts/git/trees/master' + fallbackurl = 'https://api.github.com/repos/rpherbig/dr-scripts/git/trees/main' eo_drscripts = 'https://api.github.com/repos/elanthia-online/dr-scripts/git/trees/main' unless url_exist?(defaulturl) - _respond Lich::Messaging.monsterbold("Default URL #{defaulturl} not responding. Using an alternate repo+branch combindation.") + _respond Lich::Messaging.monsterbold("Default URL #{defaulturl} not responding. Using an alternate repo+branch combination.") _respond Lich::Messaging.monsterbold("Unsetting custom repo settings, if any.") Settings['status_repo'] = nil if Settings['status_repo'] Settings['status_branch'] = nil if Settings['status_branch'] @@ -295,7 +295,7 @@ class ScriptManager def unset_custom_status @status_repo = 'rpherbig/dr-scripts' - @status_branch = 'master' + @status_branch = 'main' update_status_url end @@ -1713,7 +1713,7 @@ def stop_autostart(script_names) end end -def set_custom_status_repo(repo, branch = 'master') +def set_custom_status_repo(repo, branch = 'main') $manager.set_custom_status_repo(repo, branch) end