Mercurial > minori
diff src/core/filesystem.cc @ 230:2f5a9247e501
torrents: implement download button
erg
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sat, 13 Jan 2024 09:42:02 -0500 |
parents | 53211cb1e7f5 |
children | c130f47f6f48 |
line wrap: on
line diff
--- a/src/core/filesystem.cc Wed Jan 10 21:23:57 2024 -0500 +++ b/src/core/filesystem.cc Sat Jan 13 09:42:02 2024 -0500 @@ -72,16 +72,12 @@ return GetDotPath() / CONFIG_NAME; } -std::filesystem::path GetPlayersPath() { - return GetDotPath() / "recognition" / "players.json"; -} - -std::filesystem::path GetExtensionsPath() { - return GetDotPath() / "recognition" / "extensions.json"; -} - std::filesystem::path GetAnimeDBPath() { return GetDotPath() / "anime" / "db.json"; } +std::filesystem::path GetTorrentsPath() { + return GetDotPath() / "torrents"; +} + } // namespace Filesystem