appdwarf/apps/mkrenpy

12 lines
372 B
Plaintext
Raw Normal View History

2023-01-10 19:34:09 +00:00
#!/bin/sh
# shellcheck source=../appdwarf
SOURCE=1 . "$(which appdwarf)"
2023-01-10 19:34:09 +00:00
LINK=$(curl https://www.renpy.org/latest.html | grep 7z | cut -d\" -f2)
un7z renpy.exe
2023-01-10 19:34:09 +00:00
mkdir "$DIR"/lib
mv "$DIR"/renpy-*/lib/py3-linux-x86_64 "$DIR"/renpy-*/lib/python* "$DIR"/lib
mv "$DIR"/renpy-*/renpy* "$DIR"
rm -r "$DIR"/*.exe "$DIR"/renpy-* "$DIR/renpy.app"
ln -s renpy.sh "$DIR/AppRun"
appmk