4 ms·
Its funny. Im creating a multi-os application platform based on Chrome runtime, and thats how im packaging my multi-target binaries. Im using a SQLite btree fi
by oscargrouch 8y ago
Its funny. Im creating a multi-os application platform based on Chrome runtime, and thats how im packaging my multi-target binaries.
Im using a SQLite btree file as backend, working basically as a key-value store. On the header i define what target triples are supported (the ones the dev built the binaries), and on the runtime open, see if the current host is supported and unpack the bynary payload always checking the hash before running it. (If its on the filesystem already see of the hash matches with the one saved before on the DB as a record)
Giving its a db the owner of the public-key signature(the creator of the file), can modify and add others binaries latter.
Im not disclosing it now, because its just part of a bigger platform, and you dont distribute only the apps, but a whole "container"(not in a Docker sense, but as a multiplatform container more focused on final users instead of cloud backends).
I hope i can launch it soon here on HN.