chore: update build script and language settings in window manager

This commit is contained in:
ethan.chen
2025-06-25 14:11:38 +08:00
parent 63eda91fd6
commit ba3435e1a0
4 changed files with 296 additions and 264 deletions

View File

@@ -2,8 +2,8 @@
### ###
# @Date: 2025-04-25 13:45:35 # @Date: 2025-04-25 13:45:35
# @LastEditors: 陈子健 # @LastEditors: 陈子健
# @LastEditTime: 2025-05-26 17:14:22 # @LastEditTime: 2025-06-25 14:01:43
# @FilePath: /mac-lyric-vue/build.sh # @FilePath: /lyroc/build.sh
### ###
# lyroc 打包脚本 # lyroc 打包脚本
@@ -25,7 +25,7 @@ command -v python3 >/dev/null 2>&1 || { echo -e "${RED}错误: python3 未安装
# 项目根目录 # 项目根目录
ROOT_DIR="$(pwd)" ROOT_DIR="$(pwd)"
FRONTEND_DIR="$ROOT_DIR/frontend" FRONTEND_DIR="$ROOT_DIR/frontend"
BACKEND_DIR="$ROOT_DIR/backend" BACKEND_DIR="$ROOT_DIR/backend_local"
ELECTRON_DIR="$ROOT_DIR/electron-app" ELECTRON_DIR="$ROOT_DIR/electron-app"
# 1. 构建前端 # 1. 构建前端

View File

@@ -169,7 +169,7 @@
// 设置语言 // 设置语言
function setLanguage(lang) { function setLanguage(lang) {
const t = translations[lang] || translations.en; const t = translations[lang] || translations.zh;
loadingTitle.textContent = t.title; loadingTitle.textContent = t.title;
progressLabel.textContent = t.progress; progressLabel.textContent = t.progress;
if (currentProgress === 0) { if (currentProgress === 0) {

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +1,12 @@
{ {
"name": "frontend", "name": "frontend",
"version": "0.7.0", "version": "0.7.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "frontend", "name": "frontend",
"version": "0.7.0", "version": "0.7.1",
"dependencies": { "dependencies": {
"axios": "^1.7.7", "axios": "^1.7.7",
"pinia": "^2.2.6", "pinia": "^2.2.6",