kskit/mkinstallscript

19 lines
471 B
Bash

#!/bin/sh
(
printf "[EEPInstall]\n"
printf "EEPVersion = 10\n"
i=1
for f in $(git ls-files|grep '^[^/]*.lua'); do
printf 'File%03d = "%s","LUA\\kskit\\%s"\n' "$i" "$f" "$f"; i=$(( i + 1 ));
done
) >scripts.ini
(
printf "[EEPInstall]\n"
printf "EEPVersion = 16\n"
i=1;
for f in $(git ls-files|grep '^Demos/'|sed 's|/|\\|'g); do
printf 'File%03d = "%s","Resourcen\\Anlagen\\KsKit-Demos\\%s"\n' "$i" "$f" "$f"; i=$(( i + 1 ));
done
) >demos.ini