Change to shattered
This commit is contained in:
parent
428274d7b8
commit
cc04ea05a5
4
shatteredpd.apparmour
Normal file
4
shatteredpd.apparmour
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"template": "unconfined",
|
||||||
|
"policy_version": 16.04
|
||||||
|
}
|
9
shatteredpd.desktop
Normal file
9
shatteredpd.desktop
Normal 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
BIN
shatteredpd.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 548 B |
8
shatteredpd.wrapper
Executable file
8
shatteredpd.wrapper
Executable 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 "$@"
|
Reference in New Issue
Block a user