Commits

Anonymous committed 0fc9551 Draft

bump version

Comments (0)

Files changed (2)

AndroidManifest.xml

 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.jrummy.busybox.installer"
-    android:versionCode="1"
-    android:versionName="1.0" >
+    android:versionCode="33"
+    android:versionName="3.3" >
 
     <uses-permission android:name="android.permission.INTERNET" />
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

src/com/jrummy/busybox/installer/util/BinaryInstaller.java

 		CMDProcessor.SH su = new CMDProcessor().su;
 		CMDProcessor.CommandResult result;
 
-		result = su.runWaitFor("cat \"" + path + "\" > \"" + dest + "\"");
+		result = su.runWaitFor("dd if=\"" + path + "\" of=\"" + dest + "\"");
 		if (result.success()) {
 			return true;
 		}
 
-		result = su.runWaitFor("dd if=\"" + path + "\" of=\"" + dest + "\"");
+		result = su.runWaitFor("cat \"" + path + "\" > \"" + dest + "\"");
 		if (result.success()) {
 			return true;
 		}