platform/android/Rhodes/src/com/rhomobile/rhodes/Rhodes.java in rhodes-2.0.0.beta7 vs platform/android/Rhodes/src/com/rhomobile/rhodes/Rhodes.java in rhodes-2.0.0.beta8
- old
+ new
@@ -197,10 +197,10 @@
return true;
}
*/
private void copyFromBundle(String file) throws IOException {
- File target = new File(sdcardRootPath(), file);
+ File target = new File(getRootPath(), file);
if (target.exists())
return;
FileSource as = new AssetsSource(getResources().getAssets());
Utils.copyRecursively(as, file, target, true);