ORS engine fixes

Fix backup to not error when a non-existant partition is given.
Fix restore to run when no partition parameters are given.
Ensure that ORS runs after decryption and that zips install.
Fix a problem with the fake internal sdcard not mounting to
/sdcard on data media devices.
This commit is contained in:
Dees_Troy
2013-01-17 01:39:28 +00:00
parent ab4963c369
commit dc8bc1b28a
3 changed files with 40 additions and 40 deletions
+3 -1
View File
@@ -725,7 +725,9 @@ bool TWPartition::Mount(bool Display_Error) {
Update_Size(Display_Error);
if (!Symlink_Mount_Point.empty()) {
mount(Symlink_Path.c_str(), Symlink_Mount_Point.c_str(), Fstab_File_System.c_str(), NULL, NULL);
string Command, Result;
Command = "mount '" + Symlink_Path + "' '" + Symlink_Mount_Point + "'";
TWFunc::Exec_Cmd(Command, Result);
}
return true;
}