More Univeraal-Updater -> DarkStore

This commit is contained in:
Dark98
2022-06-28 07:59:22 +01:00
parent 5b15ec9274
commit 8f65ca00a7
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -593,7 +593,7 @@ static void LanguageLogic(int &page, int &selection, int &sPos) {
/* Check if language needs a custom font. */
if (l == "uk") {
if (access("sdmc:/3ds/DarkStore/font.bcfnt", F_OK) != 0) {
ScriptUtils::downloadFile("https://github.com/Universal-Team/extras/raw/master/files/universal-updater.bcfnt", "sdmc:/3ds/DarkStore/font.bcfnt", Lang::get("DOWNLOADING_COMPATIBLE_FONT"), true);
ScriptUtils::downloadFile("https://github.com/DarkStore-3DS/extras/raw/master/files/universal-updater.bcfnt", "sdmc:/3ds/DarkStore/font.bcfnt", Lang::get("DOWNLOADING_COMPATIBLE_FONT"), true);
Init::UnloadFont();
}
@@ -627,7 +627,7 @@ static void LanguageLogic(int &page, int &selection, int &sPos) {
/* Check if language needs a custom font. */
if (l == "uk") {
if (access("sdmc:/3ds/DarkStore/font.bcfnt", F_OK) != 0) {
ScriptUtils::downloadFile("https://github.com/Universal-Team/extras/raw/master/files/universal-updater.bcfnt", "sdmc:/3ds/DarkStore/font.bcfnt", Lang::get("DOWNLOADING_COMPATIBLE_FONT"), true);
ScriptUtils::downloadFile("https://github.com/DarkStore-3DS/extras/raw/master/files/universal-updater.bcfnt", "sdmc:/3ds/DarkStore/font.bcfnt", Lang::get("DOWNLOADING_COMPATIBLE_FONT"), true);
Init::UnloadFont();
}
@@ -658,7 +658,7 @@ static void LanguageLogic(int &page, int &selection, int &sPos) {
if (touching(touch, langButtons[6])) {
/* Download Font. */
ScriptUtils::downloadFile("https://github.com/Universal-Team/extras/raw/master/files/universal-updater.bcfnt", "sdmc:/3ds/DarkStore/font.bcfnt", Lang::get("DOWNLOADING_COMPATIBLE_FONT"), true);
ScriptUtils::downloadFile("https://github.com/DarkStore-3DS/extras/raw/master/files/universal-updater.bcfnt", "sdmc:/3ds/DarkStore/font.bcfnt", Lang::get("DOWNLOADING_COMPATIBLE_FONT"), true);
config->customfont(true);
Init::UnloadFont();
Init::LoadFont();
+1 -1
View File
@@ -70,7 +70,7 @@ MainScreen::MainScreen() {
}
}
/* If Universal DB --> Get! */
/* If DarkStore-Homebrew --> Get! */
if (config->lastStore() == "darkstore-homebrew.store" || config->lastStore() == "") {
if (access("sdmc:/3ds/DarkStore/stores/darkstore-homebrew.store", F_OK) != 0) {
if (checkWifiStatus()) {