fix path typos
This commit is contained in:
@@ -35,7 +35,7 @@ Android app for mounting ISO/IMG files as USB mass storage or CD-ROM devices on
|
|||||||
1. Download the APK from the links above
|
1. Download the APK from the links above
|
||||||
2. Install the APK on your rooted Android device
|
2. Install the APK on your rooted Android device
|
||||||
3. Grant root access when prompted
|
3. Grant root access when prompted
|
||||||
4. Place your ISO/IMG files in `/sdcard/isodrive/` (or configure a different directory in settings)
|
4. Place your ISO/IMG files in `/sdcard/isodroid/` (or configure a different directory in settings)
|
||||||
|
|
||||||
> **Note**: The app includes a bundled `isodrive` binary. No additional setup required!
|
> **Note**: The app includes a bundled `isodrive` binary. No additional setup required!
|
||||||
|
|
||||||
|
|||||||
@@ -323,7 +323,7 @@ private fun CompleteStep(
|
|||||||
Spacer(modifier = Modifier.height(16.dp))
|
Spacer(modifier = Modifier.height(16.dp))
|
||||||
|
|
||||||
Text(
|
Text(
|
||||||
text = "ISO Droid is ready to use. Place your ISO or IMG files in the isodrive folder and start mounting.",
|
text = "ISO Droid is ready to use. Place your ISO or IMG files in the isodroid folder and start mounting.",
|
||||||
style = MaterialTheme.typography.bodyLarge,
|
style = MaterialTheme.typography.bodyLarge,
|
||||||
textAlign = TextAlign.Center,
|
textAlign = TextAlign.Center,
|
||||||
color = MaterialTheme.colorScheme.onSurfaceVariant
|
color = MaterialTheme.colorScheme.onSurfaceVariant
|
||||||
@@ -332,7 +332,7 @@ private fun CompleteStep(
|
|||||||
Spacer(modifier = Modifier.height(8.dp))
|
Spacer(modifier = Modifier.height(8.dp))
|
||||||
|
|
||||||
Text(
|
Text(
|
||||||
text = "Default directory: /sdcard/isodrive/",
|
text = "Default directory: /sdcard/isodroid/",
|
||||||
style = MaterialTheme.typography.bodySmall,
|
style = MaterialTheme.typography.bodySmall,
|
||||||
textAlign = TextAlign.Center,
|
textAlign = TextAlign.Center,
|
||||||
color = MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.7f)
|
color = MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.7f)
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ class MainViewModel(application: Application) : AndroidViewModel(application) {
|
|||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
private val KEY_ISO_DIRECTORY = stringPreferencesKey("iso_directory")
|
private val KEY_ISO_DIRECTORY = stringPreferencesKey("iso_directory")
|
||||||
private val DEFAULT_ISO_DIRECTORY = "${Environment.getExternalStorageDirectory().absolutePath}/isodrive"
|
private val DEFAULT_ISO_DIRECTORY = "${Environment.getExternalStorageDirectory().absolutePath}/isodroid"
|
||||||
}
|
}
|
||||||
|
|
||||||
private var initialized = false
|
private var initialized = false
|
||||||
|
|||||||
+4
-4
@@ -229,13 +229,13 @@ fun toCommandArgs(): List<String> {
|
|||||||
**Example commands:**
|
**Example commands:**
|
||||||
```bash
|
```bash
|
||||||
# Mount as read-only mass storage
|
# Mount as read-only mass storage
|
||||||
isodrive "/sdcard/isodrive/ubuntu.iso" -configfs
|
isodrive "/sdcard/isodroid/ubuntu.iso" -configfs
|
||||||
|
|
||||||
# Mount as writable drive
|
# Mount as writable drive
|
||||||
isodrive "/sdcard/isodrive/drive.img" -rw -configfs
|
isodrive "/sdcard/isodroid/drive.img" -rw -configfs
|
||||||
|
|
||||||
# Mount as CD-ROM
|
# Mount as CD-ROM
|
||||||
isodrive "/sdcard/isodrive/windows.iso" -cdrom -configfs
|
isodrive "/sdcard/isodroid/windows.iso" -cdrom -configfs
|
||||||
```
|
```
|
||||||
|
|
||||||
## Event System
|
## Event System
|
||||||
@@ -338,7 +338,7 @@ private val KEY_ISO_DIRECTORY = stringPreferencesKey("iso_directory")
|
|||||||
```
|
```
|
||||||
|
|
||||||
Stores:
|
Stores:
|
||||||
- Custom ISO directory path (default: `/sdcard/isodrive/`)
|
- Custom ISO directory path (default: `/sdcard/isodroid/`)
|
||||||
|
|
||||||
### SharedPreferences
|
### SharedPreferences
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ Requirements:
|
|||||||
* Android 8.0+ (API 26)
|
* Android 8.0+ (API 26)
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
1. Place your ISO/IMG files in /sdcard/isodrive/
|
1. Place your ISO/IMG files in /sdcard/isodroid/
|
||||||
2. Select an ISO/IMG file from the list
|
2. Select an ISO/IMG file from the list
|
||||||
3. Choose mount options (Mass Storage or CD-ROM)
|
3. Choose mount options (Mass Storage or CD-ROM)
|
||||||
4. Tap Mount
|
4. Tap Mount
|
||||||
|
|||||||
Reference in New Issue
Block a user