[v1.3] 更新 Subscribe 相关代码和追加注释#1198
Open
cyfung1031 wants to merge 2 commits intoscriptscat:release/v1.3from
Open
[v1.3] 更新 Subscribe 相关代码和追加注释#1198cyfung1031 wants to merge 2 commits intoscriptscat:release/v1.3from
cyfung1031 wants to merge 2 commits intoscriptscat:release/v1.3from
Conversation
Closed
cyfung1031
commented
Feb 4, 2026
Comment on lines
+9
to
+10
| unknown3: 3, // 3 是什么? | ||
| unknown4: 4, // 4 是什么? |
Collaborator
Author
There was a problem hiding this comment.
@CodFrm
你看看要不要删掉 3 和 4
现在的代码已经没有 3 和 4
可能是你的旧代码留下来的?
cyfung1031
commented
Feb 4, 2026
| // @description 订阅xxx系列脚本 | ||
| // @version 0.1.0 | ||
| // @author You | ||
| // @connect www.baidu.com |
Collaborator
Author
There was a problem hiding this comment.
UserSubscribe 里面的 @connect 好像没什么作用吧。还是说你希望这个 UserSubscribe 包含的 @connect 会让 Script脚本的 slient update 时跳过检查?也就是即使脚本本身 @connect 有变化, 只要Subscribe里有这个网域,就不视作变化而进行 slience update?
这样的话 update 时要反查 subscribe 然后做处理
这个暂时在SC未有
Collaborator
Author
There was a problem hiding this comment.
是的,订阅安装的脚本使用订阅的
@connect,我记得我处理过
Collaborator
Author
|
@CodFrm 我追查了一下,你升级到MV3时已经写反了 这里应该是 disable 不是 enable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修正1
修正了 Subscribe 订阅、Script 直接安装,以及多个 Subscribe 之间的冲突问题。
脚本的删除行为将只依首次安装方式决定。
虽然 Subscribe 会关联脚本的 UUID,但若该 Subscribe 并非首次安装来源,即使删除该 Subscribe,也不会删除脚本。
行为说明如下:
修正2
修正3
Script 的单独安装处理有可能提交另一个PR处理。
这只针对 Subscribe本身的处理