Closed icidasset closed 1 year ago
Could use a proper rewrite, but I'll leave that for later.
I agree, especially I think all the device linking code can now be re-used from webnative (back when I wrote that, it only existed within the lobby).
I'm curious about what else you'd want to rewrite?
Shouldn't we just switch to npm only then?
Ah good point, will try to convert everything to NPM 👍
I'm curious about what else you'd want to rewrite?
The recovery stuff should ideally be in Webnative, and it mostly is. Although that is different from this implementation, so not entirely sure what to do with that.
I don't like the amount of global state, see the fileSystem()
, program()
and similar functions I've added. A better way of doing this would be to pass the actual references to the Elm port handlers after the Webnative program creation.
I'd also like to see 'app publishing via WNFS' added to Webnative. This depends on the new direction we'll take with the fission server I guess.
Quick update to Webnative 0.36 Could use a proper rewrite, but I'll leave that for later.
Webnative program creation and IPFS setup is done in
src/Javascript/webnative.ts
Otherwise it pretty much works as before.Also updated Nix to use flakes.