This fix causes the script to exit if `--config` was selected.
You will need to run

`python3 -m pip install --upgrade precursorupdater`

to pull in the fix. It should be live now.

Thanks for reporting this bug.
This commit is contained in:
bunnie 2023-08-08 00:22:45 +08:00
parent c109410352
commit 5c4874450e
2 changed files with 5 additions and 1 deletions

View file

@ -662,6 +662,10 @@ def main():
print("Precursor device not found. Please check the USB cable and ensure that `usb debug` was run in Shellchat")
exit(1)
if args.config:
print("--config selected, quitting.")
exit(0)
# now try to download all the artifacts and check their versions
# this list should visit kernels in order from newest to oldest.
URL_STABLE = 'https://ci.betrusted.io/releases/latest/'

View file

@ -7,7 +7,7 @@ with open('README.md') as f:
setup(
name="precursorupdater",
version="0.1.3",
version="0.1.4",
author="bunnie",
description="Precursor USB Updater",
long_description=long_description,