Files
Demo/build.sh

10 lines
180 B
Bash
Executable File

#!/bin/bash
cd build
cmake --build .
echo "dd bs=1 skip=61<\$0|unlzma>/tmp/C;chmod +x /tmp/C;/tmp/C;exit" > two
chmod +x two
sstrip one
lzma -9 one
cat one.lzma >> two
rm one.lzma