更新优化
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
# 设置 UTF-8 编码环境变量,确保中文正确显示
|
||||
export LANG=en_US.UTF-8
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export LC_CTYPE=en_US.UTF-8
|
||||
export ELECTRON_RUN_AS_NODE=true
|
||||
export NODE_OPTIONS=--max-old-space-size=4096
|
||||
|
||||
# 切换到项目根目录
|
||||
cd "$(dirname "$0")/../.."
|
||||
|
||||
# 运行加密脚本
|
||||
electron scripts/encrypt/encrypt-electron.js
|
||||
|
||||
Reference in New Issue
Block a user