Fix Update Notifying

This commit is contained in:
Dark98
2021-06-19 03:23:53 +01:00
committed by dark98
parent eba72e5cb3
commit 46aadc36d0
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
{
"version": "v12.5",
"name": "2021",
"version": "v0.01",
"name": "Initial Release",
"Author": "DarkStore Team",
"files": ["DarkStore.cia", "DarkStore.3dsx", "DarkStore.smdh"],
"Link": ["https://darkstore.ml/assets/DarkStore.cia", "https://darkstore.ml/assets/DarkStore.3dsx", "https://darkstore.ml/assets/DarkStore.smdh"],
"changelog_en": "- Adding ScreenShot,\n- Update Translations,\n- Adding icon of games to the download menu",
"changelog_en": "- Initial Release \n New Line Test",
"changelog_es": "- Agregar captura de pantalla,\n- Actualizar traducciones,\n- Agregar ícono de juegos al menú de descarga",
"changelog_fr": "- Ajout des captures d'écran,\n- Amélioration des traductions,\n- Ajout des icon des jeux dans le menu de téléchargement"
}
+3 -3
View File
@@ -770,7 +770,7 @@ DSUpdate IsDSUpdateAvailable() {
CURL *hnd = curl_easy_init();
ret = setupContext(hnd, "https://api.github.com/repos/Bot-Ghost/GHA/releases/latest");
ret = setupContext(hnd, "https://api.github.com/repos/Dark98/DS-R/releases/latest");
if (ret != 0) {
socExit();
free(result_buf);
@@ -879,7 +879,7 @@ void UpdateAction() {
if ((down & KEY_A) || (down & KEY_B) || (down & KEY_START) || (down & KEY_TOUCH)) confirmed = true;
}
if (ScriptUtils::downloadRelease("Bot-Ghost/GHA", (is3DSX ? "DarkStore.3dsx" : "DarkStore.cia"),
if (ScriptUtils::downloadRelease("Dark98/DS-R", (is3DSX ? "DarkStore.3dsx" : "DarkStore.cia"),
(is3DSX ? _3dsxPath : "sdmc:/DarkStore.cia"),
false, Lang::get("DOWNLOADING_DARKSTORE")) == 0) {
@@ -1057,7 +1057,7 @@ std::string GetChangelog() {
CURL *hnd = curl_easy_init();
ret = setupContext(hnd, "https://api.github.com/repos/Bot-Ghost/GHA/releases/latest");
ret = setupContext(hnd, "https://api.github.com/repos/Dark98/DS-R/releases/latest");
if (ret != 0) {
socExit();
free(result_buf);