From 5bceb6cac77c384ee21e909e11727c4a7066f377 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Tue, 13 Aug 2024 01:44:00 +0800 Subject: [PATCH] Add sing-box to html --- Build/build-public.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Build/build-public.ts b/Build/build-public.ts index 3aebbab8..283d05c8 100644 --- a/Build/build-public.ts +++ b/Build/build-public.ts @@ -16,6 +16,7 @@ const folderAndFilesToBeDeployed = [ `Mock${path.sep}`, `List${path.sep}`, `Clash${path.sep}`, + `sing-box${path.sep}`, `Modules${path.sep}`, `Script${path.sep}`, `Internal${path.sep}`, @@ -72,12 +73,13 @@ const priorityOrder: Record<'default' | string & {}, number> = { List: 10, Surge: 11, Clash: 12, - Modules: 13, - Script: 14, - Mock: 15, - Assets: 16, - Internal: 17, - LICENSE: 20, + 'sing-box': 13, + Modules: 20, + Script: 30, + Mock: 40, + Assets: 50, + Internal: 60, + LICENSE: 70, default: Number.MAX_VALUE }; const prioritySorter = (a: TreeType, b: TreeType) => {