Created
April 12, 2025 18:42
-
-
Save HGStyle/5f7eb963af4bfdd1f6d6d9dc7be39bc2 to your computer and use it in GitHub Desktop.
cosmo_libc_fix.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo wget -O /usr/bin/ape https://cosmo.zip/pub/cosmos/bin/ape-$(uname -m).elf | |
sudo chmod +x /usr/bin/ape | |
sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" | |
sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment