mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue