Skip to content

Commit

Permalink
Move manga downloads into "mangas" subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
schroda committed Jul 13, 2023
1 parent 98095db commit d9e3ff6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fun getThumbnailDownloadPath(mangaId: Int): String {
}

fun getChapterDownloadPath(mangaId: Int, chapterId: Int): String {
return applicationDirs.downloadsRoot + "/" + getChapterDir(mangaId, chapterId)
return applicationDirs.mangaDownloadsRoot + "/" + getChapterDir(mangaId, chapterId)
}

fun getChapterCbzPath(mangaId: Int, chapterId: Int): String {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class ApplicationDirs(
val tempMangaCacheRoot = "$tempRoot/manga-cache"

val thumbnailDownloadsRoot = "$downloadsRoot/thumbnails"
val mangaDownloadsRoot = "$downloadsRoot/mangas"
}

val serverConfig: ServerConfig by lazy { GlobalConfigManager.module() }
Expand Down

0 comments on commit d9e3ff6

Please sign in to comment.