Skip to content
Discussion options

You must be logged in to vote

Yes, but evaluate: true is not the part I would use for this.

evaluate only changes how uploaded file content is handled: the data is not quoted as a string before upload, so it is useful for entries like generated image/content expressions. It is not really a post-install hook.

For install-time code, the App Loader already has the RAM path. In metadata.json storage entries, name: "RAM" means the code is sent directly to the Bangle and is not saved as a file. Existing apps use the same pattern from custom pages, for example sending:

{ name: "RAM", content: js }

For the Twenties case, the shape I would try is to upload the library first and then add a RAM entry that performs the setup:

"st…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@thyttan
Comment options

@cookesan
Comment options

@thyttan
Comment options

@cookesan
Comment options

@thyttan
Comment options

Answer selected by thyttan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants