From 43dc77d0a2960033a12ad3b294a4edbca0a962e6 Mon Sep 17 00:00:00 2001 From: itsm3abena Date: Sat, 14 Dec 2024 14:06:13 +0300 Subject: [PATCH] Fix: App naming in linux --- build_deb.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build_deb.py b/build_deb.py index ec381fb..45d8b27 100644 --- a/build_deb.py +++ b/build_deb.py @@ -30,7 +30,7 @@ app_version = __version__.lstrip("v") -app_name = __name__ +app_name = "HDWallet" app_description = __description__ maintainer = __author__ @@ -43,7 +43,7 @@ try: subprocess.run(["python3", "setup.py", "bdist_appimage"], check=True) - dist_appimage_files = glob(f"dist/{app_name}-{app_version}*.AppImage") + dist_appimage_files = glob(f"dist/*.AppImage") if dist_appimage_files: appimage_output_path = dist_appimage_files[0] else: diff --git a/setup.py b/setup.py index 1aa4f02..b561fae 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ import platform -app_name = info.__name__ +app_name = "HDWallet" # Get platform info platform_name = platform.system().lower()