Allow to replace/overwrite Route State (1/2)

This commit is contained in:
Robin Gareus
2025-12-09 00:31:12 +01:00
parent 4207b67b73
commit bdaf96e3b6

View File

@@ -1116,7 +1116,7 @@ bool
Session::export_route_state (std::shared_ptr<RouteList> rl, const string& path, bool with_sources)
{
if (Glib::file_test (path, Glib::FILE_TEST_EXISTS)) {
return false;
remove_directory (path);
}
if (g_mkdir_with_parents (path.c_str(), 0755) != 0) {
return false;