Install the HWTest SD folder on payload and desktop.
Build / Build (push) Successful in 14s
Build Desktop Installer / Build (win-arm64) (push) Failing after 3s
Build Desktop Installer / Build (win-x64) (push) Canceled after 11m3s

HWTest 0.15 only opens its GUI when sd:/hwtest is present, so clean and update installs now replace and copy that directory.
This commit is contained in:
niklascfw committed 2026-11-03 21:13:18 +01:00
1 parent 7ae187ab04
commit 2f5bdc9bb6
5 files changed
+10 -1

No files matched your search

@@ -82,6 +82,7 @@ public static partial class DeletionLists
{
@"argon",
@"games",
@"hwtest",
@"NSPs (Tools)",
@"Patched Apps",
@"SaltySD\flags",
@@ -384,6 +385,7 @@ public static partial class DeletionLists
{
@"argon",
@"games",
@"hwtest",
@"NSPs (Tools)",
@"Patched Apps",
@"SaltySD\flags",
@@ -112,6 +112,7 @@ public sealed class InstallEngine
CopyFolderIfExists(staging, driveRoot, "switch", progress);
CopyFolderIfExists(staging, driveRoot, "themes", progress);
CopyFolderIfExists(staging, driveRoot, "warmboot_mariko", progress);
CopyFolderIfExists(staging, driveRoot, "hwtest", progress);
if (variant == OmniNxVariant.Oc)
CopyFolderIfExists(staging, driveRoot, "SaltySD", progress);
@@ -153,7 +154,7 @@ public sealed class InstallEngine
var skipDirs = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
{
"atmosphere", "bootloader", "config", "switch", "themes",
"warmboot_mariko", "SaltySD", "extras",
"warmboot_mariko", "hwtest", "SaltySD", "extras",
};
foreach (var file in Directory.GetFiles(staging))
+1
View File
@@ -88,6 +88,7 @@ static const char* clean_root_files_to_delete[] = {
static const char* clean_misc_dirs_to_delete[] = {
"sd:/argon",
"sd:/games",
"sd:/hwtest",
"sd:/NSPs (Tools)",
"sd:/Patched Apps",
"sd:/SaltySD/flags",
+1
View File
@@ -272,6 +272,7 @@ static const char* root_files_to_delete[] = {
static const char* misc_dirs_to_delete[] = {
"sd:/argon",
"sd:/games",
"sd:/hwtest",
"sd:/NSPs (Tools)",
"sd:/Patched Apps",
"sd:/SaltySD/flags",
+4
View File
@@ -113,6 +113,10 @@ int update_mode_install(omninx_variant_t variant) {
res = folder_copy_with_progress_v2(src_path, "sd:/", "warmboot_mariko/");
if (res != FR_OK && res != FR_NO_FILE) return res;
s_printf(src_path, "%s/hwtest", staging);
res = folder_copy_with_progress_v2(src_path, "sd:/", "hwtest/");
if (res != FR_OK && res != FR_NO_FILE) return res;
if (variant == VARIANT_OC) {
s_printf(src_path, "%s/SaltySD", staging);
res = folder_copy_with_progress_v2(src_path, "sd:/", "SaltySD/");