Install the HWTest SD folder on payload and desktop.
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:
5 files changed
+10
-1
No files matched your search
@@ -82,6 +82,7 @@ public static partial class DeletionLists
|
|||||||
{
|
{
|
||||||
@"argon",
|
@"argon",
|
||||||
@"games",
|
@"games",
|
||||||
|
@"hwtest",
|
||||||
@"NSPs (Tools)",
|
@"NSPs (Tools)",
|
||||||
@"Patched Apps",
|
@"Patched Apps",
|
||||||
@"SaltySD\flags",
|
@"SaltySD\flags",
|
||||||
@@ -384,6 +385,7 @@ public static partial class DeletionLists
|
|||||||
{
|
{
|
||||||
@"argon",
|
@"argon",
|
||||||
@"games",
|
@"games",
|
||||||
|
@"hwtest",
|
||||||
@"NSPs (Tools)",
|
@"NSPs (Tools)",
|
||||||
@"Patched Apps",
|
@"Patched Apps",
|
||||||
@"SaltySD\flags",
|
@"SaltySD\flags",
|
||||||
|
|||||||
@@ -112,6 +112,7 @@ public sealed class InstallEngine
|
|||||||
CopyFolderIfExists(staging, driveRoot, "switch", progress);
|
CopyFolderIfExists(staging, driveRoot, "switch", progress);
|
||||||
CopyFolderIfExists(staging, driveRoot, "themes", progress);
|
CopyFolderIfExists(staging, driveRoot, "themes", progress);
|
||||||
CopyFolderIfExists(staging, driveRoot, "warmboot_mariko", progress);
|
CopyFolderIfExists(staging, driveRoot, "warmboot_mariko", progress);
|
||||||
|
CopyFolderIfExists(staging, driveRoot, "hwtest", progress);
|
||||||
|
|
||||||
if (variant == OmniNxVariant.Oc)
|
if (variant == OmniNxVariant.Oc)
|
||||||
CopyFolderIfExists(staging, driveRoot, "SaltySD", progress);
|
CopyFolderIfExists(staging, driveRoot, "SaltySD", progress);
|
||||||
@@ -153,7 +154,7 @@ public sealed class InstallEngine
|
|||||||
var skipDirs = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
|
var skipDirs = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
|
||||||
{
|
{
|
||||||
"atmosphere", "bootloader", "config", "switch", "themes",
|
"atmosphere", "bootloader", "config", "switch", "themes",
|
||||||
"warmboot_mariko", "SaltySD", "extras",
|
"warmboot_mariko", "hwtest", "SaltySD", "extras",
|
||||||
};
|
};
|
||||||
|
|
||||||
foreach (var file in Directory.GetFiles(staging))
|
foreach (var file in Directory.GetFiles(staging))
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ static const char* clean_root_files_to_delete[] = {
|
|||||||
static const char* clean_misc_dirs_to_delete[] = {
|
static const char* clean_misc_dirs_to_delete[] = {
|
||||||
"sd:/argon",
|
"sd:/argon",
|
||||||
"sd:/games",
|
"sd:/games",
|
||||||
|
"sd:/hwtest",
|
||||||
"sd:/NSPs (Tools)",
|
"sd:/NSPs (Tools)",
|
||||||
"sd:/Patched Apps",
|
"sd:/Patched Apps",
|
||||||
"sd:/SaltySD/flags",
|
"sd:/SaltySD/flags",
|
||||||
|
|||||||
@@ -272,6 +272,7 @@ static const char* root_files_to_delete[] = {
|
|||||||
static const char* misc_dirs_to_delete[] = {
|
static const char* misc_dirs_to_delete[] = {
|
||||||
"sd:/argon",
|
"sd:/argon",
|
||||||
"sd:/games",
|
"sd:/games",
|
||||||
|
"sd:/hwtest",
|
||||||
"sd:/NSPs (Tools)",
|
"sd:/NSPs (Tools)",
|
||||||
"sd:/Patched Apps",
|
"sd:/Patched Apps",
|
||||||
"sd:/SaltySD/flags",
|
"sd:/SaltySD/flags",
|
||||||
|
|||||||
@@ -113,6 +113,10 @@ int update_mode_install(omninx_variant_t variant) {
|
|||||||
res = folder_copy_with_progress_v2(src_path, "sd:/", "warmboot_mariko/");
|
res = folder_copy_with_progress_v2(src_path, "sd:/", "warmboot_mariko/");
|
||||||
if (res != FR_OK && res != FR_NO_FILE) return res;
|
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) {
|
if (variant == VARIANT_OC) {
|
||||||
s_printf(src_path, "%s/SaltySD", staging);
|
s_printf(src_path, "%s/SaltySD", staging);
|
||||||
res = folder_copy_with_progress_v2(src_path, "sd:/", "SaltySD/");
|
res = folder_copy_with_progress_v2(src_path, "sd:/", "SaltySD/");
|
||||||
|
|||||||
Reference in new issue
Block a user