FIx BleachBit sections
This commit is contained in:
parent
70c0868a4c
commit
5dda9ea491
2 changed files with 3 additions and 3 deletions
|
|
@ -327,12 +327,12 @@ def update_bleachbit():
|
||||||
|
|
||||||
# Move files into place
|
# Move files into place
|
||||||
dest = r'{}\BleachBit'.format(global_vars['CBinDir'])
|
dest = r'{}\BleachBit'.format(global_vars['CBinDir'])
|
||||||
for item in os.scandir(r'{}\BleachBit'.format(dest)):
|
for item in os.scandir(r'{}\BleachBit-Portable'.format(dest)):
|
||||||
dest_item = '{}\{}'.format(dest, item.name)
|
dest_item = '{}\{}'.format(dest, item.name)
|
||||||
if not os.path.exists(dest_item):
|
if not os.path.exists(dest_item):
|
||||||
shutil.move(item.path, dest_item)
|
shutil.move(item.path, dest_item)
|
||||||
shutil.rmtree(
|
shutil.rmtree(
|
||||||
r'{}\BleachBit\BleachBit'.format(global_vars['CBinDir']))
|
r'{}\BleachBit\BleachBit-Portable'.format(global_vars['CBinDir']))
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
remove_from_temp('bleachbit.zip')
|
remove_from_temp('bleachbit.zip')
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ TOOLS = {
|
||||||
'32': r'Autoruns\autoruns.exe',
|
'32': r'Autoruns\autoruns.exe',
|
||||||
'64': r'Autoruns\autoruns64.exe'},
|
'64': r'Autoruns\autoruns64.exe'},
|
||||||
'BleachBit': {
|
'BleachBit': {
|
||||||
'32': r'BleachBit-Portable\bleachbit_console.exe'},
|
'32': r'BleachBit\bleachbit_console.exe'},
|
||||||
'Caffeine': {
|
'Caffeine': {
|
||||||
'32': r'Caffeine\caffeine.exe'},
|
'32': r'Caffeine\caffeine.exe'},
|
||||||
'Du': {
|
'Du': {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue