Refactor checkNewVersion function to use LatestVersionInfo data class (#1733)
- Updated the checkNewVersion function to return a LatestVersionInfo data class instead of a Triple. - Defined default null value for LatestVersionInfo in case of failure. - Improved readability and maintainability by replacing the Triple with a data class. - Included version code, download URL, and changelog in the LatestVersionInfo data class. --------- Co-authored-by: weishu <twsxtd@gmail.com>
This commit is contained in:
1
manager/gradlew
vendored
1
manager/gradlew
vendored
@@ -1,5 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright © 2015-2021 the original authors.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user