-
Notifications
You must be signed in to change notification settings - Fork 315
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
问题描述
清晰描述你遇到的 BUG:
- 拓展更新到最新版之后, 脚本存储未同步
- 默认用户配置无法正确加载
重现步骤
- 脚本猫更新版本 v0.16.6 -> v0.17.0-beta.1
- 打开原先已安装脚本, 以视频批量截图 举例, 发现用户配置消失
- 卸载 视频批量截图 脚本, 重新安装脚本, 发现用户配置仍然消失, 并且默认的数据也没有加载上.
脚本存储未同步
在脚本更新时添加检测, 对脚本数据完成同步, 将 IndexDB 中的数据迁移到新的储存中.
IndexDB 里面的用户数据是还保存着的.
默认用户配置无法正确加载
脚本的默认用户配置无法正确加载, 为空值.
/* ==UserConfig==
配置项:
duration:
title: "截图间隔(s)"
description: "每隔多少秒, 截一次图"
type: number
default: 600
min: 1
showTime:
title: "截图显示时间戳(左上角)"
description: "显示时间戳"
type: checkbox
default: true
selectors:
title: "特定网站容器指定"
description: "默认情况下, 是直接通过 video 获取, 但是当页面中存在多个视频容器的时候, 第一个 video 可能不是需要截图的容器, 这时候可以进行指定 selector\n\n格式为: <网站域名> -> <selector>\n示例: www.bilibili.com -> video"
type: textarea
default: 'www.douyin.com -> [data-e2e="feed-active-video"] video'
==/UserConfig== */环境信息
- 脚本猫版本:v0.17.0-beta.1
- 浏览器及版本:Google Chrome 137.0.7151.56
- 操作系统:Window10
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
