fix: 修复 dashboard.js 模板字符串语法错误 + Linux 构建环境

- formatDate 函数改用字符串拼接避免嵌套模板字符串转义问题
- Linux 改回 ubuntu-latest 解决 libwebkit2gtk-4.1-dev 依赖冲突
This commit is contained in:
晴天
2026-03-01 13:54:20 +08:00
parent 5c638994e5
commit 60a4a3c6b5
2 changed files with 7 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ jobs:
rust_target: x86_64-apple-darwin
# Linux x86_64
- name: Linux (x64)
os: ubuntu-22.04
os: ubuntu-latest
args: ""
rust_target: ""
# Windows x86_64
@@ -75,7 +75,7 @@ jobs:
# Linux 专用: 安装 Tauri v2 系统依赖
- name: 安装 Linux 系统依赖
if: matrix.platform.os == 'ubuntu-22.04'
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y \