diff options
Diffstat (limited to 'ape/boot/.args')
| -rw-r--r-- | ape/boot/.args | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ape/boot/.args b/ape/boot/.args new file mode 100644 index 0000000..797e7cd --- /dev/null +++ b/ape/boot/.args @@ -0,0 +1,23 @@ +... +:: system -c 'mkdir -p usr/bin' +:: system -c 'echo " Downloading into usr/bin"' +:: system -c 'out=usr/bin/unzip; [ -e "$out" ] || curl -o "$out" https://cosmo.zip/pub/cosmos/bin/unzip' +:: system -c 'out=usr/bin/unzip; [ -e "$out" ] && echo " [+] $out: exists"' +:: system -c 'out=usr/bin/zip; [ -e "$out" ] || curl -o "$out" https://cosmo.zip/pub/cosmos/bin/zip' +:: system -c 'out=usr/bin/zip; [ -e "$out" ] && echo " [+] $out: exists"' +:: system -c 'chmod 755 usr/bin/zip' +:: system -c 'chmod 755 usr/bin/unzip' +:: system -c 'out=usr/cosmocc.zip; [ -e "$out" ] || curl -o "$out" https://cosmo.zip/pub/cosmocc/cosmocc.zip' +:: system -c 'out=usr/cosmocc.zip; [ -e "$out" ] && echo " [+] $out: exists"' +:: system -c 'out=usr; [ -e "$out/bin/cosmocc" ] || usr/bin/unzip -d "$out" usr/cosmocc.zip' +:: system -c 'out=usr; [ -e "$out/bin/cosmocc" ] || unzip -d "$out" usr/cosmocc.zip' +:: system -c 'out=usr; [ -e "$out/bin/cosmocc" ] && echo " [+] $out/bin/cosmocc: exists"' +:: system -c 'out=usr/bin/zc.com; [ -e "$out" ] || curl -o "$out" -L https://github.com/OEvgeny/zc-ape/releases/latest/download/zc.com' +:: system -c 'out=usr/bin/zc.com; [ -e "$out" ] && echo " [+] $out: exists"' +:: system -c 'chmod 755 usr/bin/zc.com' +:: system -c 'out=Makefile; [ -e "$out" ] || curl -o "$out" https://raw.githubusercontent.com/OEvgeny/zc-ape/main/zc-boot/Makefile' +:: system -c 'out=Makefile; [ -e "$out" ] && echo " [+] $out: exists"' +:: system -c 'out=hello.zc; [ -e "$out" ] || curl -o "$out" https://raw.githubusercontent.com/OEvgeny/zc-ape/main/zc-boot/hello.zc' +:: system -c 'out=hello.zc; [ -e "$out" ] && echo " [+] $out: exists"' +:: system -c 'echo " Done."' +:: system -c 'cat /zip/instructions.txt'
\ No newline at end of file |
