chore: boilerplate

This commit is contained in:
aclist committed 2026-05-13 08:06:12 +09:00
1 parent 67eff054a3
commit cf913eff1b
7 files changed
+11 -26

No files matched your search

-17
View File
@@ -6,8 +6,6 @@ from enum import Enum
from pathlib import Path
from typing import BinaryIO, Self, Union
from packaging.version import Version
from dzgui.const.constants import (
APPID_DAYZ,
APPID_DAYZ_EXP,
@@ -448,21 +446,6 @@ def get_app_path(folders_path: Path, appid: int) -> Path:
return app_path
# TODO: tests
#def compare_versions(local: DayZVersion, remote: DayZVersion) -> VersionMatch:
# local_str = Version(dayz_version_to_str(local))
# remote_str = Version(dayz_version_to_str(remote))
#
# if local_str == remote_str:
# return VersionMatch.SAME_VERSION
#
# if local_str < remote_str:
# return VersionMatch.LOCAL_OLDER
#
# if local_str > remote_str:
# return VersionMatch.LOCAL_NEWER
def get_pretty_version(steam_path: Path, appid: int) -> str | None:
try:
pe_file_path = get_pefile_path(steam_path, appid)