Skip to content

Commit

Permalink
version bump, binary upgrader handling
Browse files Browse the repository at this point in the history
  • Loading branch information
c0m4r committed Jan 5, 2024
1 parent 38154e1 commit f43e6a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/lokilogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from logging import handlers
import socket

__version__ = "0.51.0-d3"
__version__ = "1.0.3"


class LokiLogger:
Expand Down
4 changes: 3 additions & 1 deletion loki.py
Original file line number Diff line number Diff line change
Expand Up @@ -1577,11 +1577,13 @@ def updateLoki(sigsOnly):
if os.path.exists(os.path.join(get_application_path(), "loki-upgrader.py")):
pArgs.append(args.python)
pArgs.append("loki-upgrader.py")
elif os.path.exists(os.path.join(get_application_path(), "loki-upgrader")):
pArgs.append("./loki-upgrader")
else:
logger.log(
"ERROR",
"Update",
"Cannot find loki-upgrader.py in the current working directory.",
"Cannot find loki-upgrader in the current working directory.",
)

if sigsOnly:
Expand Down

0 comments on commit f43e6a4

Please sign in to comment.