mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 01:30:37 +08:00
Add sing-box to html
This commit is contained in:
parent
75f188f1c1
commit
5bceb6cac7
@ -16,6 +16,7 @@ const folderAndFilesToBeDeployed = [
|
|||||||
`Mock${path.sep}`,
|
`Mock${path.sep}`,
|
||||||
`List${path.sep}`,
|
`List${path.sep}`,
|
||||||
`Clash${path.sep}`,
|
`Clash${path.sep}`,
|
||||||
|
`sing-box${path.sep}`,
|
||||||
`Modules${path.sep}`,
|
`Modules${path.sep}`,
|
||||||
`Script${path.sep}`,
|
`Script${path.sep}`,
|
||||||
`Internal${path.sep}`,
|
`Internal${path.sep}`,
|
||||||
@ -72,12 +73,13 @@ const priorityOrder: Record<'default' | string & {}, number> = {
|
|||||||
List: 10,
|
List: 10,
|
||||||
Surge: 11,
|
Surge: 11,
|
||||||
Clash: 12,
|
Clash: 12,
|
||||||
Modules: 13,
|
'sing-box': 13,
|
||||||
Script: 14,
|
Modules: 20,
|
||||||
Mock: 15,
|
Script: 30,
|
||||||
Assets: 16,
|
Mock: 40,
|
||||||
Internal: 17,
|
Assets: 50,
|
||||||
LICENSE: 20,
|
Internal: 60,
|
||||||
|
LICENSE: 70,
|
||||||
default: Number.MAX_VALUE
|
default: Number.MAX_VALUE
|
||||||
};
|
};
|
||||||
const prioritySorter = (a: TreeType, b: TreeType) => {
|
const prioritySorter = (a: TreeType, b: TreeType) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user