Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(自如): 全屏弹窗广告;推荐好友弹窗 #700

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

scalpelx
Copy link
Contributor

@scalpelx scalpelx commented Jan 10, 2025

提交的时候Actions有错误,不知道这个是什么原因,烦请告知一下,以后避免

/home/runner/work/GKD_subscription/GKD_subscription/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@gkd-kit/tools/dist/index.mjs:804
        throw new Error(
              ^


Error: Invalid group: 全屏弹窗广告, key=1 not match any category in subscription[id=666,name=AIsouler的GKD订阅] app[id=com.ziroom.ziroomcustomer,name=自如]
    at <anonymous> (/home/runner/work/GKD_subscription/GKD_subscription/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@gkd-kit/tools/dist/index.mjs:804:15)
    at Array.forEach (<anonymous>)
    at <anonymous> (/home/runner/work/GKD_subscription/GKD_subscription/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@gkd-kit/tools/dist/index.mjs:800:17)
    at Array.forEach (<anonymous>)
    at checkCategory (/home/runner/work/GKD_subscription/GKD_subscription/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@gkd-kit/tools/dist/index.mjs:799:22)
    at checkSubscription (/home/runner/work/GKD_subscription/GKD_subscription/node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@gkd-kit/tools/dist/index.mjs:815:3)
    at <anonymous> (/home/runner/work/GKD_subscription/GKD_subscription/scripts/check.ts:5:1)

Node.js v22.[12](https://github.com/scalpelx/GKD_subscription/actions/runs/12707721178/job/35423214237#step:6:13).0
 ELIFECYCLE  Command failed with exit code 1.

@AIsouler
Copy link
Owner

根据报错信息来看你的规则名称没有以规则类别名开头,gkd是根据规则名称开头来分类规则的,你可以看看其他规则名称是怎么写的,在 src/categories.ts 可查看目前规则仓库里有哪些类别

@AIsouler
Copy link
Owner

所有规则名称必须以规则类别名开头,用以实现用户批量开关某一类规则

@AIsouler
Copy link
Owner

AIsouler commented Jan 10, 2025

另外选择器选中节点后可直接点击此按钮复制生成规则,使用此脚本可自定义复制出来的规则,提高规则编写效率https://github.com/adproqwq/MakeGKDInspectBetter
image

@AIsouler AIsouler merged commit 0d33c6c into AIsouler:main Jan 10, 2025
1 check passed
@scalpelx
Copy link
Contributor Author

好的,了解了,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants