ebcrypted backup part 3
This commit is contained in:
@@ -91,7 +91,7 @@ class BackupManager:
|
||||
rm -rf '{path}'
|
||||
rm -f '{info_file}'
|
||||
"""
|
||||
if self._execute_as_root(script_content):
|
||||
if self.encryption_manager._execute_as_root(script_content):
|
||||
self.logger.log(f"Successfully deleted {path} and {info_file}")
|
||||
queue.put(('deletion_complete', True))
|
||||
else:
|
||||
|
||||
@@ -303,6 +303,7 @@ class MainApplication(tk.Tk):
|
||||
self.protocol("WM_DELETE_WINDOW", self.on_closing)
|
||||
|
||||
def _load_state_and_initialize(self):
|
||||
self.log_window.clear_log()
|
||||
"""Loads saved state from config and initializes the UI."""
|
||||
last_mode = self.config_manager.get_setting("last_mode", "backup")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user