Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
d297ab1059
|
|||
|
371e38dc2f
|
|||
|
1e850a2d1a
|
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.3] - 2025-03-11
|
||||
|
||||
### Changed
|
||||
- Fix default image dir to be /sdcard/isodroid instead of /sdcard/isodrive
|
||||
|
||||
## [1.2] - 2025-03-10
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -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
|
||||
2. Install the APK on your rooted Android device
|
||||
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!
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ android {
|
||||
minSdk = 26
|
||||
targetSdk = 36
|
||||
versionCode = 1
|
||||
versionName = "1.2"
|
||||
versionName = "1.3"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ package sh.sar.isodroid.ui.screens
|
||||
import android.Manifest
|
||||
import android.content.pm.PackageManager
|
||||
import android.os.Build
|
||||
import android.os.Environment
|
||||
import androidx.core.content.ContextCompat
|
||||
import androidx.activity.compose.rememberLauncherForActivityResult
|
||||
import androidx.activity.result.contract.ActivityResultContracts
|
||||
@@ -323,7 +324,7 @@ private fun CompleteStep(
|
||||
Spacer(modifier = Modifier.height(16.dp))
|
||||
|
||||
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,
|
||||
textAlign = TextAlign.Center,
|
||||
color = MaterialTheme.colorScheme.onSurfaceVariant
|
||||
@@ -332,7 +333,7 @@ private fun CompleteStep(
|
||||
Spacer(modifier = Modifier.height(8.dp))
|
||||
|
||||
Text(
|
||||
text = "Default directory: /sdcard/isodrive/",
|
||||
text = "Default directory: ${Environment.getExternalStorageDirectory().absolutePath}/isodroid/",
|
||||
style = MaterialTheme.typography.bodySmall,
|
||||
textAlign = TextAlign.Center,
|
||||
color = MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.7f)
|
||||
|
||||
@@ -52,7 +52,7 @@ class MainViewModel(application: Application) : AndroidViewModel(application) {
|
||||
|
||||
companion object {
|
||||
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
|
||||
|
||||
@@ -229,13 +229,13 @@ fun toCommandArgs(): List<String> {
|
||||
**Example commands:**
|
||||
```bash
|
||||
# Mount as read-only mass storage
|
||||
isodrive "/sdcard/isodrive/ubuntu.iso" -configfs
|
||||
isodrive "/sdcard/isodroid/ubuntu.iso" -configfs
|
||||
|
||||
# Mount as writable drive
|
||||
isodrive "/sdcard/isodrive/drive.img" -rw -configfs
|
||||
isodrive "/sdcard/isodroid/drive.img" -rw -configfs
|
||||
|
||||
# Mount as CD-ROM
|
||||
isodrive "/sdcard/isodrive/windows.iso" -cdrom -configfs
|
||||
isodrive "/sdcard/isodroid/windows.iso" -cdrom -configfs
|
||||
```
|
||||
|
||||
## Event System
|
||||
@@ -338,7 +338,7 @@ private val KEY_ISO_DIRECTORY = stringPreferencesKey("iso_directory")
|
||||
```
|
||||
|
||||
Stores:
|
||||
- Custom ISO directory path (default: `/sdcard/isodrive/`)
|
||||
- Custom ISO directory path (default: `/sdcard/isodroid/`)
|
||||
|
||||
### SharedPreferences
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ Requirements:
|
||||
* Android 8.0+ (API 26)
|
||||
|
||||
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
|
||||
3. Choose mount options (Mass Storage or CD-ROM)
|
||||
4. Tap Mount
|
||||
|
||||
Reference in New Issue
Block a user