mirror of https://github.com/ArduPilot/ardupilot
Tools: Scripts: run_lua_language_check: give hint about github-release-downloader
This commit is contained in:
parent
23714969da
commit
061d610965
|
@ -69,7 +69,13 @@ if __name__ == '__main__':
|
|||
|
||||
# See if there is a new version (only try on Linux)
|
||||
if platform.system() == "Linux":
|
||||
from github_release_downloader import check_and_download_updates, GitHubRepo
|
||||
try:
|
||||
from github_release_downloader import check_and_download_updates, GitHubRepo
|
||||
except ImportError:
|
||||
print("Import github-release-downloader failed")
|
||||
print("Install with: python3 -m pip install github-release-downloader")
|
||||
sys.exit(0)
|
||||
|
||||
import re
|
||||
asset_re = re.compile(r".*linux-x64\.tar\.gz")
|
||||
check_and_download_updates(
|
||||
|
|
Loading…
Reference in New Issue