From 51c5d9a7c9dd8678e76cbd6963e514f0e72b3276 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Sun, 3 Mar 2019 15:12:39 +0100 Subject: [PATCH] fix default covers dir --- changelog-fr.md | 1 + changelog.md | 1 + src/be/nikiroo/fanfix/bundles/Config.java | 2 +- src/be/nikiroo/fanfix/bundles/config.properties | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/changelog-fr.md b/changelog-fr.md index 58d79395..f747c4a0 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 bf263408..b6466db4 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 46edde99..ecbfa3da 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 a9c93993..8f22f9fb 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 -- 2.27.0