diff --git a/scripts/gen_wu.py b/scripts/gen_wu.py index d5e3365..ab5f85c 100644 --- a/scripts/gen_wu.py +++ b/scripts/gen_wu.py @@ -124,7 +124,7 @@ with open(manif_path + filename, 'wb') as output_file: for item in range(len(assets)): name = assets[item]['name'] - if 'firmware.bin' in name and ('esp32' in name or 'ttgo' in name or 'heltec' in name or 'thingpulse' in name or 'lilygo' in name or 'shelly' in name): + if 'firmware.bin' in name and ('esp32' in name or 'ttgo' in name or 'heltec' in name or 'thingpulse' in name or 'lilygo' in name or 'shelly' in name or 'lolin_c3' in name or 'tinypico' in name): fw = name.split('-firmware')[0] man_file = fw + '.manifest.json' fw_url = assets[item]['browser_download_url'] diff --git a/scripts/gen_wu_dev.py b/scripts/gen_wu_dev.py index 054d302..9457d09 100644 --- a/scripts/gen_wu_dev.py +++ b/scripts/gen_wu_dev.py @@ -111,7 +111,7 @@ with open(manif_path + filename, 'wb') as output_file: output_file.write(boot_bin.content) for name in os.listdir(bin_path): - if 'firmware.bin' in name and ('esp32' in name or 'ttgo' in name or 'heltec' in name or 'thingpulse' in name or 'lilygo' in name or 'shelly' in name): + if 'firmware.bin' in name and ('esp32' in name or 'ttgo' in name or 'heltec' in name or 'thingpulse' in name or 'lilygo' in name or 'shelly' in name or 'lolin_c3' in name or 'tinypico' in name): fw = name.split('-firmware')[0] man_file = fw + '.manifest.json' print('Bin name:' + name)