Skip to content

Commit f11b065

Browse files
committed
Update fakeruntime
1 parent 5a3aeee commit f11b065

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
mkdir -p .vitepress/dist/apps
6464
mv GUI.for.SingBox/frontend/dist .vitepress/dist/apps/gfs
6565
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
6767
sed -i '/<title>/a <script src="./fakeruntime.js"></script>' .vitepress/dist/apps/gfs/index.html
6868
6969
git clone --depth=1 https://github.com/GUI-for-Cores/GUI.for.Clash.git
@@ -73,7 +73,7 @@ jobs:
7373
)
7474
mkdir -p .vitepress/dist/apps
7575
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
7777
cp public/fakeruntime.js .vitepress/dist/apps/gfc
7878
sed -i '/<title>/a <script src="./fakeruntime.js"></script>' .vitepress/dist/apps/gfc/index.html
7979

public/fakeruntime.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ window.go = {
6767
}
6868
if (
6969
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"
7171
) {
72-
const res = await fetch("meta.json");
72+
const res = await fetch("meta-full.json");
7373
const body = await res.text();
7474
return {
7575
flag: true,
@@ -80,9 +80,9 @@ window.go = {
8080
}
8181
if (
8282
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"
8484
) {
85-
const res = await fetch("sing.json");
85+
const res = await fetch("sing-full.json");
8686
const body = await res.text();
8787
return {
8888
flag: true,

0 commit comments

Comments
 (0)