chore: update build script and language settings in window manager
This commit is contained in:
6
build.sh
6
build.sh
@@ -2,8 +2,8 @@
|
||||
###
|
||||
# @Date: 2025-04-25 13:45:35
|
||||
# @LastEditors: 陈子健
|
||||
# @LastEditTime: 2025-05-26 17:14:22
|
||||
# @FilePath: /mac-lyric-vue/build.sh
|
||||
# @LastEditTime: 2025-06-25 14:01:43
|
||||
# @FilePath: /lyroc/build.sh
|
||||
###
|
||||
|
||||
# lyroc 打包脚本
|
||||
@@ -25,7 +25,7 @@ command -v python3 >/dev/null 2>&1 || { echo -e "${RED}错误: python3 未安装
|
||||
# 项目根目录
|
||||
ROOT_DIR="$(pwd)"
|
||||
FRONTEND_DIR="$ROOT_DIR/frontend"
|
||||
BACKEND_DIR="$ROOT_DIR/backend"
|
||||
BACKEND_DIR="$ROOT_DIR/backend_local"
|
||||
ELECTRON_DIR="$ROOT_DIR/electron-app"
|
||||
|
||||
# 1. 构建前端
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
|
||||
// 设置语言
|
||||
function setLanguage(lang) {
|
||||
const t = translations[lang] || translations.en;
|
||||
const t = translations[lang] || translations.zh;
|
||||
loadingTitle.textContent = t.title;
|
||||
progressLabel.textContent = t.progress;
|
||||
if (currentProgress === 0) {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
4
frontend/package-lock.json
generated
4
frontend/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "frontend",
|
||||
"version": "0.7.0",
|
||||
"version": "0.7.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "frontend",
|
||||
"version": "0.7.0",
|
||||
"version": "0.7.1",
|
||||
"dependencies": {
|
||||
"axios": "^1.7.7",
|
||||
"pinia": "^2.2.6",
|
||||
|
||||
Reference in New Issue
Block a user