File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
files/3-rinkhals/opt/rinkhals/ui Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ def get_available_versions(include_test=False, limit=10):
293293 asset_url = None
294294 for asset in assets :
295295 asset_name = asset .get ('name' , '' ).lower ()
296- if 'update' in asset_name and printer_info .model_code .lower () in asset_name :
296+ if 'update' in asset_name and printer_info .model_code .lower (). replace ( 'v2' , '' ) in asset_name :
297297 asset_url = asset .get ('browser_download_url' , '' )
298298 break
299299 if not asset_url :
@@ -328,6 +328,7 @@ class Firmware:
328328 repositories = {
329329 'K2P' : 'https://cdn.meowcat285.com/rinkhals/Kobra%202%20Pro/manifest.json' ,
330330 'K3' : 'https://cdn.meowcat285.com/rinkhals/Kobra%203/manifest.json' ,
331+ 'K3V2' : 'https://cdn.meowcat285.com/rinkhals/Kobra%203%20V2/manifest.json' ,
331332 'KS1' : 'https://cdn.meowcat285.com/rinkhals/Kobra%20S1/manifest.json' ,
332333 'K3M' : 'https://cdn.meowcat285.com/rinkhals/Kobra%203%20Max/manifest.json' ,
333334 }
You can’t perform that action at this time.
0 commit comments