From 7cafe6544ba71d3496c357a07c09d939a70b611c Mon Sep 17 00:00:00 2001 From: Amy Retzerau Date: Thu, 4 Sep 2025 12:50:03 +0200 Subject: [PATCH] feat: added Lzma compression to binary --- build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..7724938 --- /dev/null +++ b/build.sh @@ -0,0 +1,9 @@ +#!/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