fix: change version in hbc_mini as well
This commit is contained in:
+5
-2
@@ -40,6 +40,9 @@ from logging.handlers import SysLogHandler
|
||||
from pathlib import Path
|
||||
from typing import Any, Dict, List, Optional, Tuple
|
||||
|
||||
# updated by scripts/bumpminor.sh
|
||||
__version__ = "5.1.9"
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Protocol (mirrors hbd/common/proto.py)
|
||||
# ---------------------------------------------------------------------------
|
||||
@@ -233,7 +236,7 @@ class OSInfoPlugin(InfoPlugin):
|
||||
"machine": platform.machine(),
|
||||
"architecture": platform.architecture()[0],
|
||||
"python_version": platform.python_version(),
|
||||
"hbc_version": "5.1.8",
|
||||
"hbc_version": __version__,
|
||||
"hbc_type": "mini",
|
||||
}
|
||||
if platform.system() == "Linux":
|
||||
@@ -875,7 +878,7 @@ async def _handle_update(conn: AsyncConnection):
|
||||
log.info("running installer: %s", installer)
|
||||
try:
|
||||
proc = await asyncio.create_subprocess_exec(
|
||||
installer, "miniclient",
|
||||
installer, "mini",
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
stderr=asyncio.subprocess.STDOUT,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user