Universal-Updater -> DarkStore Part 1

This commit is contained in:
dark98
2021-09-05 17:11:31 +01:00
parent becaeb4631
commit 68937d91dd
95 changed files with 377 additions and 397 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
/*
* This file is part of Universal-Updater
* This file is part of DarkStore
* Copyright (C) 2019-2021 Universal-Team
*
* This program is free software: you can redistribute it and/or modify
@@ -57,7 +57,7 @@ Meta::Meta() {
Import the old Metadata of the 'updates.json' file.
*/
void Meta::ImportMetadata() {
if (access("sdmc:/3ds/Universal-Updater/updates.json", F_OK) != 0) {
if (access("sdmc:/3ds/DarkStore/updates.json", F_OK) != 0) {
config->metadata(false);
return; // Not found.
}
@@ -65,7 +65,7 @@ void Meta::ImportMetadata() {
Msg::DisplayMsg(Lang::get("FETCHING_METADATA"));
nlohmann::json oldJson;
FILE *old = fopen("sdmc:/3ds/Universal-Updater/updates.json", "rt");
FILE *old = fopen("sdmc:/3ds/DarkStore/updates.json", "rt");
if (old) {
oldJson = nlohmann::json::parse(old, nullptr, false);
fclose(old);
+1 -1
View File
@@ -1,5 +1,5 @@
/*
* This file is part of Universal-Updater
* This file is part of DarkStore
* Copyright (C) 2019-2021 Universal-Team
*
* This program is free software: you can redistribute it and/or modify
+1 -1
View File
@@ -1,5 +1,5 @@
/*
* This file is part of Universal-Updater
* This file is part of DarkStore
* Copyright (C) 2019-2021 Universal-Team
*
* This program is free software: you can redistribute it and/or modify
+1 -1
View File
@@ -1,5 +1,5 @@
/*
* This file is part of Universal-Updater
* This file is part of DarkStore
* Copyright (C) 2019-2021 Universal-Team
*
* This program is free software: you can redistribute it and/or modify