From b7122c5885643fbe30a8fc6e89c1ebc7261f0e48 Mon Sep 17 00:00:00 2001 From: Dima YaFlay <93622229+YaFlay@users.noreply.github.com> Date: Mon, 3 Jan 2022 01:51:22 +0300 Subject: [PATCH] 1.0.1 Nothing new --- commands.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands.py b/commands.py index e062184..4502078 100644 --- a/commands.py +++ b/commands.py @@ -1,5 +1,5 @@ from tkinter import messagebox -from os import chdir, mkdir, remove, system, startfile, path, listdir, popen +from os import chdir, getcwd, mkdir, remove, system, startfile, path, listdir, popen from shutil import rmtree from datetime import datetime, date from urllib.request import urlopen, urlretrieve @@ -75,9 +75,9 @@ def server_properties_button(): def close_command_button(): remove(str(__file__)) - remove('index.py') - remove('windows.py') - remove('installer.py') + remove(str(getcwd)+'index.py') + remove(str(getcwd)+'windows.py') + remove(str(getcwd)+'installer.py') messagebox.showinfo('file deleted', 'minecraft.exe closed and deleted! Press OK for leave') # deleting main file