chore: 清理构建产物并更新.gitignore
删除旧的Nuitka构建目录和生成的二进制文件 将build_nuitka/添加到.gitignore中避免误提交
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user