🐛 fix(app): 修复品牌图标与 SQLite 查询展示

- 修复 Windows、macOS 与关于页的品牌图标展示及资源裁切问题
- 补齐 SQLite 表记录数与 SELECT 查询结果渲染
- 增加品牌图标和 SQLite 回归测试
This commit is contained in:
Syngnat
2026-07-15 22:53:47 +08:00
parent d87e314880
commit 176b100274
73 changed files with 544 additions and 100 deletions

View File

@@ -286,6 +286,10 @@ func (s *SQLiteDB) GetTables(dbName string) ([]string, error) {
return tables, nil
}
func (s *SQLiteDB) GetTableRowCounts(_ string, tables []string) (map[string]int64, error) {
return getSQLiteTableRowCounts(s.Query, tables)
}
func (s *SQLiteDB) GetCreateStatement(dbName, tableName string) (string, error) {
query := fmt.Sprintf("SELECT sql FROM sqlite_master WHERE type='table' AND name='%s'", tableName)
data, _, err := s.Query(query)