3 Commits

Author SHA1 Message Date
ITotalJustice
df558d5dcc bump version for new release 0.10.0 -> 0.10.1 2025-05-19 17:06:49 +01:00
ITotalJustice
33de03a923 fix sd card dumps due to the folder not being created. 2025-05-19 17:04:49 +01:00
ITotalJustice
1000b9c8ec fix sphaira not detecting latest update as we went from 0.9 to 0.10. 2025-05-19 16:23:45 +01:00
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.13)
set(sphaira_VERSION 0.10.0)
set(sphaira_VERSION 0.10.1)
project(sphaira
VERSION ${sphaira_VERSION}

View File

@@ -288,7 +288,6 @@ Result DumpNspToFile(ProgressBox* pbox, std::span<NspEntry> entries) {
fs::FsNativeSd fs{};
R_TRY(fs.GetFsOpenResult());
fs.CreateDirectoryRecursively(DUMP_PATH);
auto source = std::make_unique<NspSource>(entries);
for (const auto& e : entries) {
@@ -296,6 +295,7 @@ Result DumpNspToFile(ProgressBox* pbox, std::span<NspEntry> entries) {
pbox->NewTransfer(e.path);
const auto temp_path = fs::AppendPath(DUMP_PATH, e.path + ".temp");
fs.CreateDirectoryRecursivelyWithPath(temp_path);
fs.DeleteFile(temp_path);
const auto flags = e.nsp_size >= BIG_FILE_SIZE ? FsCreateOption_BigFile : 0;

View File

@@ -212,7 +212,7 @@ MainMenu::MainMenu() {
const auto version = yyjson_get_str(tag_key);
R_UNLESS(version, false);
if (std::strcmp(APP_VERSION, version) >= 0) {
if (!std::strcmp(APP_VERSION, version)) {
m_update_state = UpdateState::None;
return true;
}