首页开源地址改指自建仓 jinghui111/unicut;上游项目仅注明二次开发来源;授权中心米剪项目(编号9)真实链路验收通过;同步更新 CHANGELOG 与 E2E 断言标签
This commit is contained in:
1 parent
f352eff625
commit
c4e04d4dda
4 files changed
+13
-11
No files matched your search
@@ -41,15 +41,15 @@ def main():
|
||||
check('A1 出现「我的导航站」', '我的导航站' in txt)
|
||||
check('A2 出现「开源地址」', '开源地址' in txt)
|
||||
check('A3 出现导航站域名', 'nav.88531.cn' in txt)
|
||||
check('A4 出现 Gitee 源码地址', 'gitee.com/676015863/unicut' in txt)
|
||||
check('A5 出现 GitHub 镜像行', 'github.com/mtsee/unicut' in txt)
|
||||
check('A4 出现 Gitee 源码地址', 'gitee.com/jinghui111/unicut' in txt)
|
||||
check('A5 出现上游开源项目行', 'github.com/mtsee/unicut' in txt)
|
||||
check('A6 许可标签未乱写', 'MIT' not in txt and '免费商用' not in txt,
|
||||
'(许可证是改良版 Apache 2.0)')
|
||||
|
||||
print('--- B 链接与打开方式')
|
||||
for href, name in [('https://nav.88531.cn', 'B1 导航站链接'),
|
||||
('https://gitee.com/676015863/unicut', 'B2 开源链接'),
|
||||
('https://github.com/mtsee/unicut', 'B3 GitHub 链接')]:
|
||||
('https://gitee.com/jinghui111/unicut', 'B2 开源链接'),
|
||||
('https://github.com/mtsee/unicut', 'B3 上游开源链接')]:
|
||||
info = page.evaluate(
|
||||
"""h => [...document.querySelectorAll('a')].filter(
|
||||
a => a.href.replace(/\/$/, '') === h)
|
||||
@@ -65,7 +65,7 @@ def main():
|
||||
const cards = [...document.querySelectorAll('a')].filter(a => {
|
||||
const h = norm(a.href);
|
||||
return h === 'https://nav.88531.cn' ||
|
||||
h === 'https://gitee.com/676015863/unicut';
|
||||
h === 'https://gitee.com/jinghui111/unicut';
|
||||
});
|
||||
return cards.map(a => {
|
||||
const r = a.getBoundingClientRect();
|
||||
|
||||
Reference in new issue
Block a user