chore: 清理构建产物并更新.gitignore

删除旧的Nuitka构建目录和生成的二进制文件
将build_nuitka/添加到.gitignore中避免误提交
This commit is contained in:
2026-02-10 16:42:29 +08:00
parent 6630d94333
commit 92619edcdb
988 changed files with 824 additions and 120062 deletions
+16
View File
@@ -0,0 +1,16 @@
import os
def find_edge_path():
"""
[Utils] 自动查找 Edge 浏览器路径,提升用户体验
"""
possible_paths = [
r"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe",
r"C:\Program Files\Microsoft\Edge\Application\msedge.exe",
os.path.expanduser(r"~\AppData\Local\Microsoft\Edge\Application\msedge.exe"),
]
for path in possible_paths:
if os.path.exists(path):
return path
return None