feature to indicate app created folders

This commit is contained in:
2026-03-11 12:44:53 +05:00
parent 7c269d5e59
commit 5ea665c02f

View File

@@ -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