Skip to content

Commit cb447da

Browse files
authored
🔀 Merge pull request #62 from BakaCookie520/main
🐛 fix(log): 优化部分输出日志
2 parents 42eee09 + f0fb73f commit cb447da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lang.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def pack_to_asar(self):
170170
def restore_backup(self):
171171
"""完整还原操作"""
172172
if not os.path.exists(self._backup_path):
173-
logging.info("Backup file not found, skip backup restore.")
173+
logging.info("未找到备份文件,跳过恢复备份|Backup file not found, skip backup restore.")
174174
return
175175

176176
shutil.copy(self._backup_path, self._original_path)
@@ -180,7 +180,7 @@ def create_backup(self):
180180
"""智能备份管理(仅在缺失时创建)"""
181181
if not os.path.exists(self._backup_path):
182182
shutil.copy(self._original_path, self._backup_path)
183-
logging.info("Created initial backup.")
183+
logging.info("创建初始备份|Created initial backup.")
184184

185185
def manage_workspace(self):
186186
# 备份

0 commit comments

Comments
 (0)