feat(主题): 添加主题编辑器功能并更新相关UI

- 新增主题编辑器组件和上下文管理
- 实现主题的保存、删除和自定义功能
- 更新主题相关API接口
- 调整主题样式透明度
- 替换应用logo为高清版本
- 更新README和package.json描述信息
This commit is contained in:
Linkon
2026-01-20 03:32:38 +08:00
parent 2403cfb588
commit b5874980fc
19 changed files with 221 additions and 40 deletions
+5 -1
View File
@@ -12,6 +12,10 @@ for (const name of targets) {
console.log(`[clean-db] removed ${filePath}`)
}
} catch (e) {
console.error(`[clean-db] failed to remove ${filePath}:`, e?.message || e)
if (e.code === 'EPERM' || e.code === 'EACCES') {
console.warn(`[clean-db] skipped ${filePath}: file in use or permission denied`)
} else {
console.error(`[clean-db] failed to remove ${filePath}:`, e?.message || e)
}
}
}