This commit is contained in:
JMARyA 2025-04-06 01:25:35 +02:00
parent f7d5193684
commit e784de310a
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
3 changed files with 29 additions and 0 deletions

7
setup.sh Normal file
View file

@ -0,0 +1,7 @@
safe_title=$(python3 -c 'print("$name".replace(" ", ".").lower())')
mv -v "root/usr/share/applications/Game Title.desktop" "root/usr/share/applications/$name.desktop"
mkdir -p root/games/$safe_title
mkdir -p root/usr/share/icons/$safe_title
sd "game.title" "$safe_title" "root/usr/share/applications/$name.desktop"
sd "game.title" "$safe_title" PKGBUILD
rm setup.sh