From 2b88713315a48dbe0fef5387f999034b1851719c Mon Sep 17 00:00:00 2001 From: Paiton Bertschy <78337764+thewiilover@users.noreply.github.com> Date: Mon, 6 Jan 2025 07:10:55 -0600 Subject: [PATCH 1/3] Update chu3-national-matching.md --- docs/chu3-national-matching.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/chu3-national-matching.md b/docs/chu3-national-matching.md index ee9602ff..4056e9f4 100644 --- a/docs/chu3-national-matching.md +++ b/docs/chu3-national-matching.md @@ -30,6 +30,7 @@ This is tested on Chusan 2.27. ### Firewall Rules Below is a simple command to add firewall rules for Chunithm. +(Put this intk a text file and change the fule extension to .bat) ```shell @echo off From eb1745d179fed1e94092099e3aee95d11d782fe1 Mon Sep 17 00:00:00 2001 From: Paiton Bertschy <78337764+thewiilover@users.noreply.github.com> Date: Mon, 6 Jan 2025 07:16:32 -0600 Subject: [PATCH 2/3] Update chu3-national-matching.md Correct my shitty spelling --- docs/chu3-national-matching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/chu3-national-matching.md b/docs/chu3-national-matching.md index 4056e9f4..1c327eb7 100644 --- a/docs/chu3-national-matching.md +++ b/docs/chu3-national-matching.md @@ -30,7 +30,7 @@ This is tested on Chusan 2.27. ### Firewall Rules Below is a simple command to add firewall rules for Chunithm. -(Put this intk a text file and change the fule extension to .bat) +(Put this into a text file and change the file extension to .bat) ```shell @echo off From cf1e745c14b4a157014fc44d394ebeff3c5785ad Mon Sep 17 00:00:00 2001 From: Clansty Date: Tue, 7 Jan 2025 06:08:25 +0800 Subject: [PATCH 3/3] [O] Support option folder in root --- AquaNet/src/libs/userbox/userbox.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AquaNet/src/libs/userbox/userbox.ts b/AquaNet/src/libs/userbox/userbox.ts index 6162105d..67539089 100644 --- a/AquaNet/src/libs/userbox/userbox.ts +++ b/AquaNet/src/libs/userbox/userbox.ts @@ -163,11 +163,11 @@ export function initializeDb() : Promise { export async function userboxFileProcess(folder: FileSystemEntry, progressUpdate: (progress: number, progressString: string) => void): Promise { if (!isDirectory(folder)) return t("userbox.new.error.invalidFolder") - if (!(await validateDirectories(folder, "bin/option")) && !(await validateDirectories(folder, "data/A000"))) + if (!(await validateDirectories(folder, "bin/option") || await validateDirectories(folder, "option")) && !(await validateDirectories(folder, "data/A000"))) return t("userbox.new.error.invalidFolder"); initializeDb(); - const optionFolder = await getDirectoryFromPath(folder, "bin/option"); + const optionFolder = await getDirectoryFromPath(folder, "bin/option") ?? await getDirectoryFromPath(folder, "option"); if (optionFolder) await scanOptionFolder(optionFolder, progressUpdate); const dataFolder = await getDirectoryFromPath(folder, "data");