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:
parent
f1226b6735
commit
6ce804b4c9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user