修改函数

This commit is contained in:
2025-06-05 01:00:17 +08:00
parent 4517a06eff
commit 2a7873549d
4 changed files with 9 additions and 10 deletions

View File

@@ -184,5 +184,4 @@ def resource_path(relative_path: str) -> str:
return os.path.join(base_path, relative_path)
def is_frozen() -> bool:
return getattr(sys, 'frozen', False)
DEVELOPMENT_ENV = getattr(sys, 'frozen', False)