Migrate to SDK4.44+MV2

This commit is contained in:
RandyTheSilly committed 2026-11-05 20:51:09 -05:00
1 parent bf7a8a30b4
commit d286450c92
4 files changed
+102 -104

No files matched your search

+92 -84
View File
@@ -3,21 +3,21 @@
"author": "RandyTheSilly",
"version": "2.0.0",
"keywords": [
"alarm",
"math",
"trigonometry",
"trig",
"triangle",
"pavlok",
"shock",
"zap"
"alarm",
"math",
"trigonometry",
"trig",
"triangle",
"pavlok",
"shock",
"zap"
],
"capabilities": [
"configurable"
"configurable"
],
"private": true,
"dependencies": {
"@rebble/clay": "^1.1.0"
"@rebble/clay": "^1.1.0"
},
"pebble": {
"displayName": "Trigalarm",
@@ -32,83 +32,91 @@
"watchface": false
},
"messageKeys": [
"PKJS_READY",
"PKJS_ALARM_RESET",
"PKJS_TRIANGLE_COUNT",
"PKJS_TRIANGLE_SECS_MIN",
"PKJS_TRIANGLE_SECS_STEP",
"PKJS_PAVLOK_ENABLE",
"PKJS_PAVLOK_ZAP_INTENSITY",
"PKJS_PAVLOK_ZAP"
"PKJS_READY",
"PKJS_ALARM_RESET",
"PKJS_TRIANGLE_COUNT",
"PKJS_TRIANGLE_SECS_MIN",
"PKJS_TRIANGLE_SECS_STEP",
"PKJS_PAVLOK_ENABLE",
"PKJS_PAVLOK_ZAP_INTENSITY",
"PKJS_PAVLOK_ZAP"
],
"resources": {
"media": [
{
"file": "clock25.png",
"memoryFormat": "Smallest",
"name": "CLOCK25",
"spaceOptimization": "storage",
"type": "bitmap",
"menuIcon": true
},
{
"file": "clock35.png",
"memoryFormat": "Smallest",
"name": "CLOCK35",
"spaceOptimization": "storage",
"type": "bitmap"
},
{
"file": "x.png",
"memoryFormat": "Smallest",
"name": "X",
"spaceOptimization": "storage",
"type": "bitmap"
},
{
"file": "check.png",
"memoryFormat": "Smallest",
"name": "CHECK",
"spaceOptimization": "storage",
"type": "bitmap"
},
{
"characterRegex": "[:0-9]",
"file": "lecoish_mono_bold_20.bdf",
"name": "FONT_LECOISH_MONO_BOLD_20",
"type": "font"
},
{
"characterRegex": "[:0-9]",
"file": "lecoish_mono_bold_40.bdf",
"name": "FONT_LECOISH_MONO_BOLD_40",
"type": "font",
"targetPlatforms": [
"emery"
]
},
{
"characterRegex": "[:0-9]",
"file": "lecoish_mono_bold_60.bdf",
"name": "FONT_LECOISH_MONO_BOLD_60",
"type": "font",
"targetPlatforms": [
"gabbro"
]
},
{
"characterRegex": "[sincostaeθ=¯¹0123456789]",
"file": "mansalva_regular.ttf",
"name": "FONT_MANSALVA_REGULAR_22",
"type": "font"
},
{
"characterRegex": "[()]",
"file": "mansalva_regular.ttf",
"name": "FONT_MANSALVA_REGULAR_50",
"type": "font"
}
{
"file": "clock25.png",
"memoryFormat": "Smallest",
"name": "CLOCK25",
"spaceOptimization": "storage",
"type": "bitmap",
"menuIcon": true
},
{
"file": "clock35.png",
"memoryFormat": "Smallest",
"name": "CLOCK35",
"spaceOptimization": "storage",
"type": "bitmap"
},
{
"file": "x.png",
"memoryFormat": "Smallest",
"name": "X",
"spaceOptimization": "storage",
"type": "bitmap"
},
{
"file": "check.png",
"memoryFormat": "Smallest",
"name": "CHECK",
"spaceOptimization": "storage",
"type": "bitmap"
},
{
"characterRegex": "[:0-9]",
"file": "lecoish_mono_bold_20.bdf",
"name": "FONT_LECOISH_MONO_BOLD_20",
"type": "font"
},
{
"characterRegex": "[:0-9]",
"file": "lecoish_mono_bold_40.bdf",
"name": "FONT_LECOISH_MONO_BOLD_40",
"type": "font",
"targetPlatforms": [
"emery"
]
},
{
"characterRegex": "[:0-9]",
"file": "lecoish_mono_bold_60.bdf",
"name": "FONT_LECOISH_MONO_BOLD_60",
"type": "font",
"targetPlatforms": [
"gabbro"
]
},
{
"characterRegex": "[sincostae\u03b8=\u00af\u00b90123456789]",
"file": "mansalva_regular.ttf",
"name": "FONT_MANSALVA_REGULAR_22",
"type": "font"
},
{
"characterRegex": "[()]",
"file": "mansalva_regular.ttf",
"name": "FONT_MANSALVA_REGULAR_50",
"type": "font"
}
]
}
},
"usesPermissions": [
{
"name": "Internet",
"parameters": {
"domains": ["api.pavlok.com"]
}
}
]
}
}