Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions builder/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ def __init__(self, ip, port, filename, delay, wait, exe, icon, hide, persist):
self.tmp_dir = tempfile.mkdtemp()
self.dist_path = os.path.join(self.tmp_dir, 'application')

self.output_dir = 'output'
self.dist_path = os.path.join(self.tmp_dir, 'application')

self.bot_template = 'bot' + os.path.sep + 'template_bot.py'
self.bot_py_temp = 'bot' + os.path.sep + '{}.py'.format(filename)
self.bot_compiled = self.dist_path + os.path.sep + '{}.exe'.format(filename)
Expand Down Expand Up @@ -127,4 +124,5 @@ def clean_up(self):
executor.start()
os.system('cls' if is_win else 'clear')
print('\nFinished creating {}'.format(executor.filename + '.exe' if executor.exe else executor.bot_py_temp))
print('Look in the directory named output for your exe file' if executor.exe else 'Look in the directory named bot for your Python file')
print('Look in the directory named output for your exe file' if executor.exe else 'Look in the directory named bot for your Python file')