stan44 e0f298ba36 Add LyricFlow .NET backend API and Python bridge integration
- introduce `LyricFlow.Core.Backend` with shared DTOs, rhyme/spellcheck engines, and REST endpoints
- wire Python GUI/core to run and call the backend via new bridge/client modules
- add backend parity/integration tests and update packaging/ignore settings
2026-03-15 01:44:56 -05:00

25 lines
715 B
C#

namespace LyricFlow.Core.Services;
public static class AppPaths
{
public static string AppDataDirectory()
{
var appData = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
if (string.IsNullOrWhiteSpace(appData))
{
appData = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".lyricflow");
}
var path = Path.Combine(appData, "LyricFlow");
Directory.CreateDirectory(path);
return path;
}
public static string ExplorerTrashDirectory()
{
var path = Path.Combine(AppDataDirectory(), "explorer_trash");
Directory.CreateDirectory(path);
return path;
}
}