File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 63
63
mkdir -p .vitepress/dist/apps
64
64
mv GUI.for.SingBox/frontend/dist .vitepress/dist/apps/gfs
65
65
cp public/fakeruntime.js .vitepress/dist/apps/gfs
66
- wget -O .vitepress/dist/apps/gfs/sing.json https://github.com/GUI-for-Cores/Ruleset-Hub/releases/download/latest/sing.json
66
+ wget -O .vitepress/dist/apps/gfs/sing-full .json https://github.com/GUI-for-Cores/Ruleset-Hub/releases/download/latest/sing-full .json
67
67
sed -i '/<title>/a <script src="./fakeruntime.js"></script>' .vitepress/dist/apps/gfs/index.html
68
68
69
69
git clone --depth=1 https://github.com/GUI-for-Cores/GUI.for.Clash.git
73
73
)
74
74
mkdir -p .vitepress/dist/apps
75
75
mv GUI.for.Clash/frontend/dist .vitepress/dist/apps/gfc
76
- wget -O .vitepress/dist/apps/gfc/meta.json https://github.com/GUI-for-Cores/Ruleset-Hub/releases/download/latest/meta.json
76
+ wget -O .vitepress/dist/apps/gfc/meta-full .json https://github.com/GUI-for-Cores/Ruleset-Hub/releases/download/latest/meta-full .json
77
77
cp public/fakeruntime.js .vitepress/dist/apps/gfc
78
78
sed -i '/<title>/a <script src="./fakeruntime.js"></script>' .vitepress/dist/apps/gfc/index.html
79
79
Original file line number Diff line number Diff line change @@ -67,9 +67,9 @@ window.go = {
67
67
}
68
68
if (
69
69
url ==
70
- "https://github.com/GUI-for-Cores/Ruleset-Hub/releases/download/latest/meta.json"
70
+ "https://github.com/GUI-for-Cores/Ruleset-Hub/releases/download/latest/meta-full .json"
71
71
) {
72
- const res = await fetch ( "meta.json" ) ;
72
+ const res = await fetch ( "meta-full .json" ) ;
73
73
const body = await res . text ( ) ;
74
74
return {
75
75
flag : true ,
@@ -80,9 +80,9 @@ window.go = {
80
80
}
81
81
if (
82
82
url ==
83
- "https://github.com/GUI-for-Cores/Ruleset-Hub/releases/download/latest/sing.json"
83
+ "https://github.com/GUI-for-Cores/Ruleset-Hub/releases/download/latest/sing-full .json"
84
84
) {
85
- const res = await fetch ( "sing.json" ) ;
85
+ const res = await fetch ( "sing-full .json" ) ;
86
86
const body = await res . text ( ) ;
87
87
return {
88
88
flag : true ,
You can’t perform that action at this time.
0 commit comments