Mercurial > minori
comparison 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 |
comparison
equal
deleted
inserted
replaced
229:adc20fa321c1 | 230:2f5a9247e501 |
---|---|
70 | 70 |
71 std::filesystem::path GetConfigPath() { | 71 std::filesystem::path GetConfigPath() { |
72 return GetDotPath() / CONFIG_NAME; | 72 return GetDotPath() / CONFIG_NAME; |
73 } | 73 } |
74 | 74 |
75 std::filesystem::path GetPlayersPath() { | |
76 return GetDotPath() / "recognition" / "players.json"; | |
77 } | |
78 | |
79 std::filesystem::path GetExtensionsPath() { | |
80 return GetDotPath() / "recognition" / "extensions.json"; | |
81 } | |
82 | |
83 std::filesystem::path GetAnimeDBPath() { | 75 std::filesystem::path GetAnimeDBPath() { |
84 return GetDotPath() / "anime" / "db.json"; | 76 return GetDotPath() / "anime" / "db.json"; |
85 } | 77 } |
86 | 78 |
79 std::filesystem::path GetTorrentsPath() { | |
80 return GetDotPath() / "torrents"; | |
81 } | |
82 | |
87 } // namespace Filesystem | 83 } // namespace Filesystem |