From 80a1e3db7611c6d238a9125b8fd3cf2f5f604989 Mon Sep 17 00:00:00 2001 From: Hell13Cat <46496367+Hell13Cat@users.noreply.github.com> Date: Sat, 29 Jan 2022 16:26:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=20=D0=BE=D1=82=D1=80=D1=8B=D1=82=D0=B8=D0=B5=20?= =?UTF-8?q?=D1=84=D0=B0=D0=B9=D0=BB=D0=BE=D0=B2=20=D0=B2=20W10E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- builder.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/builder.py b/builder.py index 1541045..9ff7875 100644 --- a/builder.py +++ b/builder.py @@ -1,5 +1,6 @@ import json import shutil +import os databr = json.load(open("behavior_pack\manifest.json", "r", encoding='utf-8')) datarr = json.load(open("resource_pack\manifest.json", "r", encoding='utf-8')) @@ -42,3 +43,8 @@ zip_name_resource = 'MWAlkoR' directory_name_resource = 'resource_pack' shutil.make_archive(zip_name_resource, 'zip', directory_name_resource) shutil.move("MWAlkoR.zip", "MWAlkoR.mcpack") + +opeo_file_q = input("""Открыть файлы в Minecraft["+" для открытия]? >""") +if opeo_file_q == "+": + os.startfile("MWAlkoB.mcpack") + os.startfile("MWAlkoR.mcpack") \ No newline at end of file