Skip to content

Commit

Permalink
Also support /sdcard/Documents/sword as path for sword modules on And…
Browse files Browse the repository at this point in the history
…roid (closes #51)
  • Loading branch information
tobias-klein committed Jan 21, 2024
1 parent bd40156 commit 759ff76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sword_backend/module_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ SWMgr* ModuleStore::createSWMgr()
if (isAndroid) {
// Also consider the originally used path for Android, which does not work anymore from Android 11, but is still relevant
// for existing translations on Android versions < 11.
swMgr->augmentModules("/sdcard/sword");
swMgr->augmentModules("/sdcard/sword");

// Also consider /sdcard/Documents/sword, which is the path used by other programs
swMgr->augmentModules("/sdcard/Documents/sword");
}
} else {
#ifdef _WIN32
Expand Down

0 comments on commit 759ff76

Please sign in to comment.