kskit/mkinstallscript

19 lines
481 B
Plaintext
Raw Normal View History

#!/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
2023-07-23 13:16:04 +02:00
printf 'File%03d = "%s","Resourcen\\Anlagen\\KsKit-Demos\\%s"\n' "$i" "$f" "${f#Demos\\}"; i=$(( i + 1 ));
done
) >demos.ini