Commit Graph

10 Commits (3158d945aaba454cf40c5901f96a94bed8fb39d7)

Author SHA1 Message Date
Gordon Williams 2e6574f6ed Making appinfo language scan work under node.js moving language_scan and other libs into AppLoader core from BangleApps 2023-07-07 15:19:32 +01:00
Gordon Williams 009d93bdca fix screenshot dir 2022-12-16 10:05:19 +00:00
Gordon Williams b89a368bd9 Removed duplication in node.js apps with 2 new libraries, added an 'app test' program - not finished yet 2022-12-16 10:04:27 +00:00
ash 5a6b37f3cc Use /usr/bin/env as shebang everywhere
It's not guaranteed that bash will be available at /bin/bash; it's even
less likely that node will always be installed at /usr/bin/node{,js}.
Always indirecting through /usr/bin/env means that there is only one
such path that needs to be available.
2022-08-17 23:03:21 +01:00
BartS23 bf2613c440
Output app name, reset lcd and intervals
flow app sets LCDMode to 120x120 wich will break image export (TypeError: FUNCTION_TABLE[(HEAPU8[(($0 + 52) | 0)] | (HEAPU8[(($0 + 53) | 0)] << 8) | ((HEAPU8[(($0 + 54) | 0)] << 16) | (HEAPU8[(($0 + 55) | 0)] << 24)))] is not a function)

Some applications use a very short timeout, which also break the export.
2022-07-13 21:23:33 +02:00
BartS23 5f4db2e78c
Don't treat "Uncaught Storage Updated!" as error 2022-07-12 14:14:49 +02:00
BartS23 b580fa2f84
Require espruinotools as Espruino
To avoid the error below:

ReferenceError: Espruino is not defined
    at parseJS (eval at <anonymous> (/home/romek/Bangle/BangleApps/bin/thumbnailer.js:43:1), <anonymous>:95:5)
    at eval (eval at <anonymous> (/home/romek/Bangle/BangleApps/bin/thumbnailer.js:43:1), <anonymous>:166:37)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Promise.all (index 0)
2022-07-12 13:46:25 +02:00
Gordon Williams eefa209af4 support for 'supports:["DEVICEID"]` for files in apps, merge launchb2 and launch 2021-10-28 12:14:02 +01:00
Gordon Williams 8b9d43dece automatic thumbnailing 2021-10-26 12:40:08 +01:00
Gordon Williams 9c7f734afe Add BETA thumbnailer code that can use the JS emulator to create thumbnails for Bangle.js 1 and 2 2021-10-23 21:21:36 +01:00