Skip to content

Commit 1ffe8d1

Browse files
committed
Forgot to expose the manifest for the Kobra 3 V2
1 parent 6da5021 commit 1ffe8d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

files/3-rinkhals/opt/rinkhals/ui/common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)