mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 00:37:49 +00:00
don't try to update when running from source
This commit is contained in:
@@ -67,6 +67,9 @@ def get_loader_version() -> str:
|
||||
try:
|
||||
# Normalize Python-style version to conform to Decky style
|
||||
v = Version(importlib.metadata.version("decky_loader"))
|
||||
if v.major == 0 and v.minor == 0 and v.micro == 0:
|
||||
# We are probably running from source
|
||||
return "dev"
|
||||
|
||||
version_str = f'v{v.major}.{v.minor}.{v.micro}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user