appdwarf/apps/mkrenpy

13 lines
398 B
Plaintext
Raw Normal View History

2023-01-10 19:34:09 +00:00
#!/bin/sh
. "$(dirname "$0")"/appmk
part0
LINK=$(curl https://www.renpy.org/latest.html | grep 7z | cut -d\" -f2)
aria2c "$LINK" -d "$DIR" -o renpy.exe
7z x -y -o"$DIR" "$DIR"/renpy.exe
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"
part9