Fix session-archives on macOS

When an archive are saved, a new folder in interchange/ is created,
named after the archive. However session-archive also retains files
in the session-folder that Ardour does not know about.

This can cause that the the original interchange folder is retained.
It will be empty with just the .DS_Store file in it. The result is
that the session may not load if there is an ambiguity.
This commit is contained in:
Robin Gareus 2022-08-08 23:09:56 +02:00
parent f1226b6735
commit 6ce804b4c9
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -5647,6 +5647,7 @@ Session::archive_session (const std::string& dest,
do_not_copy_extensions.push_back (backup_suffix);
do_not_copy_extensions.push_back (temp_suffix);
do_not_copy_extensions.push_back (history_suffix);
do_not_copy_extensions.push_back (".DS_Store");
vector<string> blacklist_dirs;
blacklist_dirs.push_back (string (peak_dir_name) + G_DIR_SEPARATOR);