Skip to content

Commit

Permalink
Added backup trigger to interactive mode (close #221)
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Nov 12, 2020
1 parent 4b481bf commit a5593da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CurseBreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ def start(self):
if len(self.core.config['Addons']) == 0:
self.console.print('Command [green]import[/green] might be used to detect already installed addons.\n')
self.motd_parser()
if self.core.backup_check():
self.console.print(f'[green]Backing up WTF directory:[/green]')
self.core.backup_wtf(self.console)
self.console.print('')
# Prompt session
while True:
try:
Expand Down

0 comments on commit a5593da

Please sign in to comment.