Modified CMD output to be a little more consistent for compressing files.
This commit is contained in:
parent
17532053c9
commit
d64e25f369
1 changed files with 5 additions and 3 deletions
|
|
@ -741,11 +741,11 @@ class CommandBase(object):
|
|||
cmd = [upx_bin, '--lzma', '-{}'.format(compression.value), str(nw_path)]
|
||||
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE)
|
||||
|
||||
self.progress_text = '\nCompressing files'
|
||||
self.progress_text = '\n\n'
|
||||
self.progress_text = 'Compressing files'
|
||||
while proc.poll() is None:
|
||||
self.progress_text += '.'
|
||||
time.sleep(5)
|
||||
time.sleep(2)
|
||||
output, err = proc.communicate()
|
||||
|
||||
def copy_files_to_project_folder(self):
|
||||
|
|
@ -778,6 +778,8 @@ class CommandBase(object):
|
|||
if res:
|
||||
self.make_output_dirs()
|
||||
self.progress_text = '\nDone!\n'
|
||||
self.progress_text = 'Output directory is {}/{}.\n'.format(self.output_dir(),
|
||||
self.project_name())
|
||||
self.delete_files()
|
||||
|
||||
def get_files_to_download(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue