feature to indicate app created folders
This commit is contained in:
@@ -206,6 +206,8 @@ class MainViewModel(application: Application) : AndroidViewModel(application) {
|
||||
// Create directory if it doesn't exist
|
||||
if (!directory.exists()) {
|
||||
RootManager.executeCommand("mkdir -p \"$currentPath\"")
|
||||
// Create marker file to indicate this folder was created by the app
|
||||
RootManager.executeCommand("touch \"$currentPath/.isodroiddir\"")
|
||||
}
|
||||
|
||||
// Try multiple methods to list files
|
||||
|
||||
Reference in New Issue
Block a user