From: Niki Roo Date: Sun, 3 Mar 2019 14:12:39 +0000 (+0100) Subject: fix default covers dir X-Git-Tag: fanfix-1.8.1~5 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=51c5d9a7c9dd8678e76cbd6963e514f0e72b3276;p=fanfix.git fix default covers dir --- diff --git a/changelog-fr.md b/changelog-fr.md index 58d7939..f747c4a 100644 --- a/changelog-fr.md +++ b/changelog-fr.md @@ -6,6 +6,7 @@ - e621: correction pour /post/search/ - remote: correction de certains problèmes de timeout - fix: permettre les erreurs I/O pour les CBZ (ignore l'image) +- fix: corriger le répertoire des covers par défaut # Version 1.8.0 diff --git a/changelog.md b/changelog.md index bf26340..b6466db 100644 --- a/changelog.md +++ b/changelog.md @@ -6,6 +6,7 @@ - e621: fix for /post/search/ - remote: fix some timeout issues - fix: allow I/O errors on CBZ files (skip image) +- fix: fix the defaukt covers directory # Version 1.8.0 diff --git a/src/be/nikiroo/fanfix/bundles/Config.java b/src/be/nikiroo/fanfix/bundles/Config.java index 46edde9..ecbfa3d 100644 --- a/src/be/nikiroo/fanfix/bundles/Config.java +++ b/src/be/nikiroo/fanfix/bundles/Config.java @@ -28,7 +28,7 @@ public enum Config { CACHE_MAX_TIME_STABLE, // @Meta(def = "Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 -- ELinks/0.9.3 (Linux 2.6.11 i686; 80x24)", description = "string", info = "The user-agent to use to download files") USER_AGENT, // - @Meta(def = "$HOME/bin/epub/", description = "absolute path, $HOME variable supported, / is always accepted as dir separator", format = Format.DIRECTORY, info = "The directory where to get the default story covers") + @Meta(def = "$HOME/.fanfix/covers/", description = "absolute path, $HOME variable supported, / is always accepted as dir separator", format = Format.DIRECTORY, info = "The directory where to get the default story covers") DEFAULT_COVERS_DIR, // @Meta(description = "string", info = "The default library to use (KEY:SERVER:PORT), or empty for the local library") DEFAULT_LIBRARY, // diff --git a/src/be/nikiroo/fanfix/bundles/config.properties b/src/be/nikiroo/fanfix/bundles/config.properties index a9c9399..8f22f9f 100644 --- a/src/be/nikiroo/fanfix/bundles/config.properties +++ b/src/be/nikiroo/fanfix/bundles/config.properties @@ -30,7 +30,7 @@ CACHE_MAX_TIME_STABLE = 720 USER_AGENT = Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 -- ELinks/0.9.3 (Linux 2.6.11 i686; 80x24) # absolute path, $HOME variable supported, / is always accepted as dir separator # (FORMAT: DIRECTORY) The directory where to get the default story covers -DEFAULT_COVERS_DIR = $HOME/bin/epub/ +DEFAULT_COVERS_DIR = $HOME/.fanfix/covers/ # string (FORMAT: STRING) The default library to use (KEY:SERVER:PORT), or empty for the local library DEFAULT_LIBRARY = # absolute path, $HOME variable supported, / is always accepted as dir separator