Change to shattered

This commit is contained in:
CactiChameleon9 2022-05-27 18:21:17 +01:00
parent 428274d7b8
commit cc04ea05a5
4 changed files with 21 additions and 0 deletions

4
shatteredpd.apparmour Normal file
View File

@ -0,0 +1,4 @@
{
"template": "unconfined",
"policy_version": 16.04
}

9
shatteredpd.desktop Normal file
View File

@ -0,0 +1,9 @@
[Desktop Entry]
Name=Shattered Pixel Dungeon
Exec=java -jar ./ShatteredPD.jar
Icon=./shatteredpd.png
Terminal=false
Type=Application
X-Ubuntu-Touch=true
X-Ubuntu-Splash-Color=#53524e
X-Ubuntu-XMir-Enable=true

BIN
shatteredpd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 B

8
shatteredpd.wrapper Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
SCALE=$(( $GRID_UNIT_PX / 8 ))
export GDK_BACKEND=x11
export GDK_SCALE=$SCALE
exec java -jar ./ShatteredPD.jar --force-device-scale-factor=$SCALE "$@"