valist-io / valist

Web3-native software distribution. Publish and install executables, Docker images, WebAssembly, and more. Powered by Ethereum, IPFS, and Filecoin.
https://valist.io
Mozilla Public License 2.0
116 stars 6 forks source link

Launch / Install Options #284

Closed nasdf closed 2 years ago

nasdf commented 2 years ago

Launch options enable cross platform releases by specifying which binaries are suitable for each platform.

Potential list of supported platforms and architectures:

nasdf commented 2 years ago

An easy solution could be to use a simple directory structure for example: darwin/amd64 This could solve the problems of linking the required files to each specific platform. A directory labeled _shared could include assets used by all releases.

awantoch commented 2 years ago

Summary from dev planning convo:

For now we'll support single file binaries in the platform map:

{
    "os/arch": "absolute/path/from/release/dir"
}

It will be easy to verify the paths exist during publish as well.