8000 GitHub - Munawwar/launcher: Cross-platform binary launcher with Cosmopolitan libc
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cross-platform binary launcher with Cosmopolitan libc

License

Notifications You must be signed in to change notification settings

Munawwar/launcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Launcher

Cross-platform binary launcher

Download the launch binary from https://github.com/Munawwar/launcher/releases/tag/v0.1.0

Usage: launch [binary name]

Lets say you have a list of binaries like the following:

goaws-linux-x86_64
goaws-darwin-arm64
goaws-darwin-x86_64
goaws-windows-x86_64.exe

And lets say you want a single command to pick and execute the correct binary on a developer's machine based on the OS they use.

Then you can ship launch binary and run

launch goaws

(goaws is just an example here, could be any prefix)

And that will run the correct goaws binary from the current working directory.

Following OS and architecture filename suffixes are supported:

<name>-linux-x86_64
<name>-linux-arm64
<name>-darwin-x86_64
<name>-darwin-arm64
<name>-windows-x86_64.exe
<name>-windows-arm64.exe
<name>-bsd-x86_64
<name>-bsd-arm64

Build the binary yourself?

Download cosmo compiler

mkdir -p cosmocc
cd cosmocc
wget https://cosmo.zip/pub/cosmocc/cosmocc.zip
unzip cosmocc.zip
cd ..

Next, build the file:

cosmocc/bin/cosmocc -o launch launch.c

About

Cross-platform binary launcher with Cosmopolitan libc

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0