Skip to content

Commit

Permalink
Fix: desktop installer version set to library version
Browse files Browse the repository at this point in the history
  • Loading branch information
itsm3abena committed Dec 14, 2024
1 parent 26c05a5 commit a14ab97
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Makefile
# Folders stuff
experiment/
.venv/
venv/
.idea/
.tox/
.vs/
Expand Down
8 changes: 4 additions & 4 deletions build_deb.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import platform
import subprocess

from hdwallet.info import __version__, __name__, __author__, __description__
from src.info import __version__, __name__, __author__, __description__

arch_map = {
"x86_64": "amd64",
Expand All @@ -30,8 +30,8 @@


app_version = __version__.lstrip("v")
app_name = "HDWallet"
app_description = "A desktop application for generating hierarchical deterministic wallets"
app_name = __name__
app_description = __description__
maintainer = __author__

icon_path = "src/ui/images/svg/HDW-Logo.svg"
Expand All @@ -43,7 +43,7 @@

try:
subprocess.run(["python3", "setup.py", "bdist_appimage"], check=True)
dist_appimage_files = glob(f"dist/*.AppImage")
dist_appimage_files = glob(f"dist/{app_name}-{app_version}*.AppImage")
if dist_appimage_files:
appimage_output_path = dist_appimage_files[0]
else:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import platform

app_name = "HDWallet"
app_name = info.__name__

# Get platform info
platform_name = platform.system().lower()
Expand Down
3 changes: 2 additions & 1 deletion src/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
__version__: str = "v0.1.0"
__license__: str = "MIT"
__author__: str = "Talon Lab"
__email__: str = "[email protected]"
__email__: str = "[email protected]"
__description__: str = "A desktop application for generating hierarchical deterministic wallets"

0 comments on commit a14ab97

Please sign in to comment.