Fixed VCMI compilation, it crashes yay.

This commit is contained in:
Sergii Pylypenko
2013-08-01 23:00:45 +03:00
parent 062c3ff22c
commit 602e54c210
4 changed files with 51 additions and 22 deletions

View File

@@ -864,7 +864,9 @@ public class MainActivity extends Activity
out.flush();
out.close();
Settings.nativeChmod(path, 0755);
//Settings.nativeChmod(path, 0755);
String chmod[] = { "/system/bin/chmod", "0755", path };
Runtime.getRuntime().exec(chmod).waitFor();
}
}
catch ( Exception eee )