mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Migrate old chains...
... Copy old Chains files to Macros, once only per session, never overwriting. Leave old files in place in case the user downgrades their Audacity. When removing a Macro, remove also any like-named legacy chain.
This commit is contained in:
@@ -190,6 +190,12 @@ wxString FileNames::HtmlHelpDir()
|
||||
#endif
|
||||
}
|
||||
|
||||
wxString FileNames::LegacyChainDir()
|
||||
{
|
||||
// Don't force creation of it
|
||||
return wxFileName{ DataDir(), wxT("Chains") }.GetFullPath();
|
||||
}
|
||||
|
||||
wxString FileNames::MacroDir()
|
||||
{
|
||||
return FileNames::MkDir( wxFileName( DataDir(), wxT("Macros") ).GetFullPath() );
|
||||
|
Reference in New Issue
Block a user