-
Notifications
You must be signed in to change notification settings - Fork 314
[v1.3] 更新 Subscribe 相关代码和追加注释 #1198
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
base: release/v1.3
Are you sure you want to change the base?
[v1.3] 更新 Subscribe 相关代码和追加注释 #1198
Conversation
| unknown3: 3, // 3 是什么? | ||
| unknown4: 4, // 4 是什么? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CodFrm
你看看要不要删掉 3 和 4
现在的代码已经没有 3 和 4
可能是你的旧代码留下来的?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我也不记得了,应该可以删除
| // @description 订阅xxx系列脚本 | ||
| // @version 0.1.0 | ||
| // @author You | ||
| // @connect www.baidu.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UserSubscribe 里面的 @connect 好像没什么作用吧。还是说你希望这个 UserSubscribe 包含的 @connect 会让 Script脚本的 slient update 时跳过检查?也就是即使脚本本身 @connect 有变化, 只要Subscribe里有这个网域,就不视作变化而进行 slience update?
这样的话 update 时要反查 subscribe 然后做处理
这个暂时在SC未有
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是的,订阅安装的脚本使用订阅的 @connect,我记得我处理过
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是的,订阅安装的脚本使用订阅的
@connect,我记得我处理过
|
@CodFrm 我追查了一下,你升级到MV3时已经写反了
这里应该是 disable 不是 enable |
修正1
修正了 Subscribe 订阅、Script 直接安装,以及多个 Subscribe 之间的冲突问题。
脚本的删除行为将只依首次安装方式决定。
虽然 Subscribe 会关联脚本的 UUID,但若该 Subscribe 并非首次安装来源,即使删除该 Subscribe,也不会删除脚本。
行为说明如下:
修正2
修正3
Script 的单独安装处理有可能提交另一个PR处理。
这只针对 Subscribe本身的处理