diff --git a/app/src/main/java/net/christianbeier/droidvnc_ng/Utils.kt b/app/src/main/java/net/christianbeier/droidvnc_ng/Utils.kt index 9a3eb8b3..c4fe663d 100644 --- a/app/src/main/java/net/christianbeier/droidvnc_ng/Utils.kt +++ b/app/src/main/java/net/christianbeier/droidvnc_ng/Utils.kt @@ -86,4 +86,10 @@ object Utils { } } + @JvmStatic + fun deleteRecursively(directory: String) { + val directory = File(directory) + directory.deleteRecursively() + } + } \ No newline at end of file