feat: 支持linux; 支持配置代理

This commit is contained in:
decker
2025-01-12 11:48:34 +08:00
parent 3c03e6894a
commit 23c097a9ef
5 changed files with 47 additions and 17 deletions

View File

@@ -89,9 +89,9 @@ def build():
system = platform.system().lower()
spec_file = os.path.join("CursorKeepAlive.spec")
if system not in ["darwin", "windows"]:
print(f"\033[91mUnsupported operating system: {system}\033[0m")
return
# if system not in ["darwin", "windows"]:
# print(f"\033[91mUnsupported operating system: {system}\033[0m")
# return
output_dir = f"dist/{system if system != 'darwin' else 'mac'}"