move executable check into util.py

This commit is contained in:
Mike Fährmann
2023-02-28 23:10:23 +01:00
parent de2f35d068
commit 26d06e0bb2
4 changed files with 4 additions and 3 deletions

View File

@@ -131,7 +131,7 @@ def main():
import requests
extra = ""
if getattr(sys, "frozen", False):
if util.EXECUTABLE:
extra = " - Executable"
else:
git_head = util.git_head()