Skip to content
This repository was archived by the owner on Feb 19, 2021. It is now read-only.

Commit 8db953a

Browse files
committed
Fix eternal bug.
1 parent 8f0a2ea commit 8db953a

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ pack:
3232
sudo chmod a+x ./deb/usr/bin/mcpil
3333
sudo chmod a+x ./deb/usr/bin/mcpim
3434
@echo "Package: mcpil" > ./deb/DEBIAN/control
35-
@echo "Version: 0.7.1" >> ./deb/DEBIAN/control
35+
@echo "Version: 0.7.2" >> ./deb/DEBIAN/control
3636
@echo "Priority: optional" >> ./deb/DEBIAN/control
3737
@echo "Architecture: armhf" >> ./deb/DEBIAN/control
38-
@echo "Depends: libmcpi, mcpi-proxy, mcpi-central, libmodpi, libmcpi-docker, python3, libfreeimage3, libglfw3, minecraft-pi" >> ./deb/DEBIAN/control
38+
@echo "Depends: libmcpi, mcpi-proxy, mcpi-central, libmodpi, libmcpi-docker, python3, libfreeimage3, libglfw3, minecraft-pi, python3-tk" >> ./deb/DEBIAN/control
3939
@echo "Maintainer: Alvarito050506 <[email protected]>" >> ./deb/DEBIAN/control
4040
@echo "Homepage: https://mcpi.tk" >> ./deb/DEBIAN/control
4141
@echo "Vcs-Browser: https://github.com/MCPI-Devs/MCPIL" >> ./deb/DEBIAN/control
4242
@echo "Vcs-Git: https://github.com/MCPI-Devs/MCPIL.git" >> ./deb/DEBIAN/control
4343
@echo "Description: Simple launcher for Minecraft: Pi Edition.\n" >> ./deb/DEBIAN/control
44-
dpkg-deb -b ./deb/ ./mcpil_0.7.1-1.deb
44+
dpkg-deb -b ./deb/ ./mcpil_0.7.2-1.deb
4545

4646
clean:
4747
rm -rf ./deb/

src/mcpil.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
];
4949
preset_features = [
5050
str(),
51-
"Fix Bow & Arrow|Fix Attacking|Mob Spawning|Fancy Graphics|Fix Sign Placement|ModPi",
52-
"Touch GUI|Survival Mode|Fix Bow & Arrow|Fix Attacking|Mob Spawning|Fancy Graphics|Disable Autojump By Default|Fix Sign Placement|Show Block Outlines"
51+
"Fix Bow & Arrow|Fix Attacking|Mob Spawning|Fancy Graphics|Fix Sign Placement|Expand Creative Inventory|ModPi",
52+
"Touch GUI|Survival Mode|Fix Bow & Arrow|Fix Attacking|Mob Spawning|Disable Autojump By Default|Fix Sign Placement|Fancy Graphics"
5353
];
5454

5555
features = [
@@ -60,8 +60,10 @@
6060
"Mob Spawning",
6161
"Fancy Graphics",
6262
"Disable Autojump By Default",
63-
"Fix Sign Placement",
6463
"Show Block Outlines",
64+
"Fix Sign Placement",
65+
"Expand Creative Inventory",
66+
"Peaceful Mode",
6567
"ModPi"
6668
];
6769
enabled_features = str();
@@ -196,7 +198,7 @@ def update_dlls():
196198
dll_files = glob("/usr/lib/libmcpi-docker/lib*.so");
197199
bk = environ.get("LD_LIBRARY_PATH") or str();
198200
environ.update({
199-
"LD_LIBRARY_PATH": f"/opt/minecraft-pi/minecraft-pi/lib/brcm:/usr/lib/libmcpi-docker:/usr/arm-linux-gnueabihf/lib:{bk}",
201+
"LD_LIBRARY_PATH": f"/opt/minecraft-pi/minecraft-pi/lib/brcm:/usr/lib/libmcpi-docker:/usr/lib/arm-linux-gnueabihf:{bk}",
200202
"LD_PRELOAD": ":".join(dll_files)
201203
});
202204
return 0;
@@ -538,7 +540,7 @@ def about_tab(parent):
538540
title.config(font=("", 24));
539541
title.pack();
540542

541-
version = Label(tab, text="v0.7.1");
543+
version = Label(tab, text="v0.7.2");
542544
version.config(font=("", 10));
543545
version.pack();
544546

@@ -562,7 +564,7 @@ def main(args):
562564

563565
window = Tk();
564566
window.title("MCPI Laucher");
565-
window.geometry("480x348");
567+
window.geometry("512x400");
566568
window.resizable(False, False);
567569
window.iconphoto(True, PhotoImage(file="/usr/share/icons/hicolor/48x48/apps/mcpil.png"));
568570

@@ -593,3 +595,4 @@ def main(args):
593595

594596
if __name__ == "__main__":
595597
sys.exit(main(sys.argv));
598+

0 commit comments

Comments
 (0)