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
|
# @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. 构建前端
|
||||||
|
|||||||
@@ -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
4
frontend/package-lock.json
generated
4
frontend/package-lock.json
generated
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user