mirror of
https://github.com/lilydjwg/nvchecker
synced 2024-12-12 01:35:49 +00:00
Merge pull request #127 from guizai/add-sparkle-source
Fix duplicated version and shortVersionString in sparkle
This commit is contained in:
commit
3dfbca494c
@ -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