From 9c65e5a12dc3ef548e0d7c8cc30314072f362c1b Mon Sep 17 00:00:00 2001 From: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com> Date: Sun, 31 Aug 2025 01:45:59 +0100 Subject: [PATCH] app: remove old themezer cache --- sphaira/source/app.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sphaira/source/app.cpp b/sphaira/source/app.cpp index 39f2637..8c032bf 100644 --- a/sphaira/source/app.cpp +++ b/sphaira/source/app.cpp @@ -1494,6 +1494,12 @@ App::App(const char* argv0) { m_fs->CreateDirectory("/config/sphaira/i18n"); } + { + // delete old themezer cache as themezer does not exit anymore. + SCOPED_TIMESTAMP("themezer cache delete"); + m_fs->DeleteDirectoryRecursively("/switch/sphaira/cache/themezer"); + } + if (log_is_init()) { SCOPED_TIMESTAMP("fw log init"); SetSysFirmwareVersion fw_version{};