mirror of
https://github.com/lilydjwg/nvchecker
synced 2025-01-10 16:29:30 +00:00
fix: duplicated version and shortVersionString in sparkle
This commit is contained in:
parent
f0869aa1c1
commit
e7634a625c
@ -25,7 +25,7 @@ async def get_version(name, conf, **kwargs):
|
||||
|
||||
if version_string:
|
||||
version.append(version_string)
|
||||
if build_number:
|
||||
if build_number and (build_number not in version):
|
||||
version.append(build_number)
|
||||
|
||||
return '-'.join(version) if version else None
|
||||
|
Loading…
Reference in New Issue
Block a user