From a5b73d5767bba9d19883efab3ec68273c5ed9dd8 Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Tue, 20 Dec 2022 03:07:44 +0100 Subject: [PATCH] finally moved to the ***real repo*** --- Project.xml | 2 +- source/funkin/updating/UpdateUtil.hx | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Project.xml b/Project.xml index aa36df06..186a87f3 100644 --- a/Project.xml +++ b/Project.xml @@ -2,7 +2,7 @@ - + diff --git a/source/funkin/updating/UpdateUtil.hx b/source/funkin/updating/UpdateUtil.hx index 494688a6..d8199daf 100644 --- a/source/funkin/updating/UpdateUtil.hx +++ b/source/funkin/updating/UpdateUtil.hx @@ -10,6 +10,9 @@ import lime.app.Application; using funkin.github.GitHub; class UpdateUtil { + public static final repoOwner:String = "YoshiCrafter29"; + public static final repoName:String = "CodenameEngine"; + public static function init() { // deletes old bak file if it exists #if sys @@ -24,10 +27,8 @@ class UpdateUtil { trace(curTag); var error = false; - - // TODO: replace "CodenameTestRepo" by "CodenameEngine" once done. - var newUpdates = __doReleaseFiltering(GitHub.getReleases("YoshiCrafter29", "CodenameTestRepo", function(e) { + var newUpdates = __doReleaseFiltering(GitHub.getReleases(repoOwner, repoName, function(e) { error = true; }), curTag);