sudo apt install default-jre sudo apt install libgdk-pixbuf2.0-0 https://github.com/huanghongxun/HMCL java -jar HMCL-2.7.6.25.jar |
Commands,
locate structure village_plain |
Minecraft.desktop
[Desktop Entry] Version=1.0 Terminal=false Type=Application Name=Minecraft StartupWMClass=Minecraft GenericName=Minecraft Comment=Minecraft Exec=/path/to/minecraft/run.sh Icon=/path/to/minecraft/icon.png Keywords=game;emulator; Categories=Game;Emulator; |
run.sh
#!/bin/bash PWD=`dirname $0` cd $PWD xrandr --size 960x540 java -jar ./HMCL-3.5.4.234.jar xrandr --size 1920x1080 |
refer to:
https://blog.csdn.net/weixin_33757911/article/details/90099582
http://www.mcbbs.net/thread-142335-1-1.html