fix(shell): 保留导航首页、下掉标签条旧首页按钮、logo 缩到 28px、插件页去掉旧顶栏(v3.25.62)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 47s
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 47s
This commit is contained in:
1 parent
efb885ef91
commit
675239f6d1
17 files changed
+91
-32
No files matched your search
@@ -217,6 +217,8 @@ const html = `<!DOCTYPE html>
|
||||
`
|
||||
fs.writeFileSync(path.join(dist, 'index.html'), html)
|
||||
fs.writeFileSync(path.join(dist, 'version.json'), JSON.stringify({ version, packageVersion: pkg.version, commit: gitSha }, null, 2) + '\n')
|
||||
// 导航 logo 用真实应用图标(v3.25.61;缺失不阻塞构建)
|
||||
try { fs.copyFileSync(path.join(root, 'src-tauri', 'icons', 'icon.png'), path.join(dist, 'nav-logo.png')) } catch (e) { /* ignore */ }
|
||||
|
||||
const appBytes = fs.statSync(path.join(dist, 'app.js')).size
|
||||
const cssBytes = fs.statSync(path.join(dist, 'style.css')).size
|
||||
|
||||
Reference in new issue
Block a user