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 Aug 8, 2023
1 parent 346f78f commit 8e487cc
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 @@ -54,6 +54,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 8e487cc

Please sign in to comment.