Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Integration with /usr/share/sword #1

Open
OrionRandD opened this issue Sep 20, 2018 · 2 comments
Open

Integration with /usr/share/sword #1

OrionRandD opened this issue Sep 20, 2018 · 2 comments

Comments

@OrionRandD
Copy link

Hi,
Great app.
Could you just integrate it with the database Xiphos/Sword from crosswire build for system-wide on installing them, e.g., on GNU/Debian with:
sudo apt install xiphos diatheke
Then, if you install modules system-wide they will go to "/usr/share/sword"
Inside that you get "mods.d and modules" directories. So that, it is not necessary to download everything again in "$HOME/.sword".
Could you make a feature to integrate "/usr/share/sword" to use with your appl?
And also to ask where to install the new downloaded modules as Xiphos does? Per user or system-wide.
Thx a lot

@g4jc
Copy link
Owner

g4jc commented Sep 28, 2018

Thanks. This is definitely doable, but would require sudo/root permissions to write to that directory. Currently the application doesn't require any special permissions since it uses the home folder.

I may do the "ask" thing you mentioned and then prompt the user to run it as root to install, but generally running any downloader with sudo isn't recommended for security reasons.

@OrionRandD
Copy link
Author

OrionRandD commented Sep 29, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants