Customisable backup directory.

This commit is contained in:
Your Name
2025-04-25 23:52:08 +12:00
parent 3c99ad1503
commit fa7236b4f5
7 changed files with 51 additions and 17 deletions

View File

@ -325,7 +325,7 @@ bool service_runner::backup() {
}
// Create backups directory locally if it doesn't exist
std::string local_backups_dir = get_local_config_backups_path(0);
std::string local_backups_dir = get_local_backup_path();
if (local_backups_dir.empty()) {
std::cerr << "Error: Local backups directory not found - is DropShell initialised?" << std::endl;
return false;