mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-11-24 18:42:05 +00:00
uncommented copy code
This commit is contained in:
parent
4fa5e44f73
commit
4574589dc6
4 changed files with 6 additions and 5 deletions
2
Makefile
2
Makefile
|
@ -22,7 +22,7 @@ DATA := data
|
|||
INCLUDES := include lib/zipper/include
|
||||
APP_TITLE := All-in-One Switch Updater
|
||||
APP_AUTHOR := HamletDuFromage
|
||||
APP_VERSION := 2.3.1
|
||||
APP_VERSION := 2.3.2
|
||||
TARGET := $(notdir $(CURDIR))
|
||||
|
||||
ROMFS := resources
|
||||
|
|
|
@ -75,6 +75,7 @@
|
|||
"v2_2_1_text": "\uE016 Fixed non Atmosphere CFW being wrongly categorised as ams.",
|
||||
"v2_3_0_text": "\uE016 Added possibility to copy a list of files to custom locations. This may come in handy for trinket/esoteric bootloader users.\n\uE016 Added warning screen on launch.\n\uE016 Few UI tweaks.\n\uE016 Traditional Chinese translation updated (qazrfv1234)",
|
||||
"v2_3_1_text": "\uE016 Files for batch copy are now copied according to the json order (formerly alphabetical order).",
|
||||
"v2_3_2_text": "\uE016 Fixed batch copy not copying :^)",
|
||||
"Ok_button": "Ok",
|
||||
|
||||
"cheats_page.cpp":"",
|
||||
|
|
|
@ -106,7 +106,8 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true)
|
|||
verTitles.push_back("v2.3.1");
|
||||
changes.push_back("menus/v2_3_1_text"_i18n );
|
||||
|
||||
|
||||
verTitles.push_back("v2.3.2");
|
||||
changes.push_back("menus/v2_3_1_text"_i18n );
|
||||
|
||||
int nbVersions = verTitles.size();
|
||||
items.reserve(nbVersions);
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include "main_frame.hpp"
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
||||
namespace i18n = brls::i18n;
|
||||
using namespace i18n::literals;
|
||||
|
@ -374,8 +373,8 @@ std::string copyFiles(const char* path) {
|
|||
for (auto it = toMove.begin(); it != toMove.end(); ++it) {
|
||||
if(std::filesystem::exists(it.key())) {
|
||||
createTree(std::string(std::filesystem::path(it.value().get<std::string>()).parent_path()) + "/");
|
||||
//cp(it.key().c_str(), it.value().get<std::string>().c_str());
|
||||
std::cout << it.key() << it.value().get<std::string>() << std::endl;
|
||||
cp(it.key().c_str(), it.value().get<std::string>().c_str());
|
||||
//std::cout << it.key() << it.value().get<std::string>() << std::endl;
|
||||
}
|
||||
else {
|
||||
error += it.key() + "\n";
|
||||
|
|
Loading…
Reference in a new issue