2023-07-22 00:25:15 +02:00
|
|
|
#!/bin/sh
|
2023-07-23 13:11:36 +02:00
|
|
|
(
|
|
|
|
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 ));
|
2023-07-23 13:11:36 +02:00
|
|
|
done
|
|
|
|
) >demos.ini
|