forked from hardcoresushi/DroidFS
Finalize libcryfs
This commit is contained in:
parent
a92695f8d5
commit
d2327052dc
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -6,5 +6,4 @@
|
||||
url = https://forge.chapril.org/hardcoresushi/libpdfviewer.git
|
||||
[submodule "app/libcryfs"]
|
||||
path = app/libcryfs
|
||||
url = https://github.com/hardcore-sushi/libcryfs.git
|
||||
branch = genesis
|
||||
url = https://forge.chapril.org/hardcoresushi/libcryfs.git
|
||||
|
2
BUILD.md
2
BUILD.md
@ -1,6 +1,8 @@
|
||||
# Introduction
|
||||
DroidFS relies on modified versions of the original encrypted filesystems programs to open volumes. [CryFS](https://github.com/cryfs/cryfs) is written in C++ while [gocryptfs](https://github.com/rfjakob/gocryptfs) is written in Go. Thus, building DroidFS requires the compilation of native code. However, for the sake of simplicity, the application has been designed in a modular way: you can build a version of DroidFS that supports both Gocryptfs and CryFS, or only one of the two.
|
||||
|
||||
Moreover, DroidFS aims to be accessible to as many people as possible. If you encounter any problems or need help with the build, feel free to open an issue, a discussion, or contact me by [email](mailto:hardcore.sushi@disroot.org) or on [Matrix](https://matrix.org): @hardcoresushi:matrix.underworld.fr
|
||||
|
||||
# Setup
|
||||
Install required packages:
|
||||
```
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 267fb40fe77e5ef079759bebd395c7a92ef072d2
|
||||
Subproject commit 335815d25ac90f3d4964f88b542746ab5b270397
|
@ -1 +1 @@
|
||||
Subproject commit 9e98192442b08362660b45f4e2e50221ba7bc65b
|
||||
Subproject commit 7afeb9f3a4e0316365e843d3f4afd50201fbb253
|
@ -46,7 +46,7 @@ object PathUtils {
|
||||
}
|
||||
|
||||
fun getRelativePath(parentPath: String, childPath: String): String {
|
||||
return childPath.substring(parentPath.length + if (parentPath.endsWith(SEPARATOR)) {
|
||||
return childPath.substring(parentPath.length + if (parentPath.endsWith(SEPARATOR) || childPath.length == parentPath.length) {
|
||||
0
|
||||
} else {
|
||||
1
|
||||
|
@ -19,3 +19,5 @@ android.useAndroidX=true
|
||||
android.enableJetifier=true
|
||||
# Kotlin code style for this project: "official" or "obsolete":
|
||||
kotlin.code.style=official
|
||||
|
||||
android.native.buildOutput=verbose
|
Loading…
Reference in New Issue
Block a user