feat: 侧边栏标题旁显示版本号徽章(manifest 动态读取)v1.8.5

顶部标题右侧新增圆角版本徽章(如 v1.8.5),页脚版本同步;两处均 chrome.runtime.getManifest() 动态填充,后续升版只改 manifest 一处,杜绝版本号不一致。
This commit is contained in:
personal82555 committed 2026-10-21 00:07:12 +08:00
1 parent 5be9027fe7
commit f2af2955be
7 files changed
+32 -8

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ const DEFAULT_AI = {
const AUTH_BASE = 'https://auth.88531.cn';
const AUTH_PROJECT_ID = 3;
const AUTH_API_KEY = 'ak_bbf83b76df8219388d7f60b9e67c7db2';
const CLIENT_VERSION = '1.8.4';
const CLIENT_VERSION = '1.8.5';
const TRIAL_MS = 72 * 60 * 60 * 1000; // 试用 72 小时(3 天)
const TRIAL_QUOTA = 100; // 试用期最多 100 条评论(时间/条数先到先停,防止白嫖薅量)
const GRACE_DAILY = 3; // 试用到期不硬锁:每天保留 3 条体验额度