Tools: Scripts: run_lua_language_check: give hint about github-release-downloader

This commit is contained in:
Iampete1 2024-05-21 01:03:34 +01:00 committed by Andrew Tridgell
parent 23714969da
commit 061d610965
1 changed files with 7 additions and 1 deletions

View File

@ -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(