Skip to content

Commit

Permalink
Change installation folder from '/.kobo' to more standard '/.adds'
Browse files Browse the repository at this point in the history
This prevents KoboCloud's library from getting synced, avoiding the books duplication issue (see https://www.mobileread.com/forums/showthread.php?t=316894). Writing to .kobo is generally not recommended as it'll get wiped by a signout or a database corruption. '/.adds' is a standard location used by other apps such as KOReader. Dotfolders will need to be excluded from library scan (see readme).
  • Loading branch information
Wzzza committed Mar 23, 2020
1 parent a3b6946 commit d26c8ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/usr/local/kobocloud/config_kobo.sh
@@ -1,7 +1,7 @@
#!/bin/sh
Logs=/mnt/onboard/.kobo/kobocloud
Lib=/mnt/onboard/.kobo/kobocloud/Library
Logs=/mnt/onboard/.adds/kobocloud
Lib=/mnt/onboard/.adds/kobocloud/Library
SD=/mnt/sd/kobocloud
UserConfig=/mnt/onboard/.kobo/kobocloud/kobocloudrc
UserConfig=/mnt/onboard/.adds/kobocloud/kobocloudrc
Dt="date +%Y-%m-%d_%H:%M:%S"
CURL="`dirname $0`/curl --cacert \"`dirname $0`/ca-bundle.crt\" "

3 comments on commit d26c8ad

@Lambik
Copy link

@Lambik Lambik commented on d26c8ad Mar 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should update the main readme doc too to reflect this ;-)

@Lambik
Copy link

@Lambik Lambik commented on d26c8ad Mar 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should update the main readme doc too to reflect this ;-)

Oh wait, I see the pull request, good job!

@pgaskin
Copy link

@pgaskin pgaskin commented on d26c8ad Mar 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that if you use .add (without the s), you won't need the dotfile stuff, as it's a built-in exclusion (and yes, I'm aware this is different from the majority of mods).

Please sign in to comment.