mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 05:20:14 -07:00
Try another way to set executable
This commit is contained in:
parent
d4a98ae147
commit
766e4a1684
1 changed files with 3 additions and 1 deletions
|
|
@ -998,7 +998,9 @@ public class MainActivity extends LoggableActivity implements OnTouchListener, O
|
|||
Tools.getJavaArgs(this, testArgs);
|
||||
testArgs.add("-version");
|
||||
|
||||
shell.writeToProcess("chmod 777 " + Tools.homeJreDir + "/bin/java");
|
||||
new File(Tools.homeJreDir + "/bin/java").setExecutable(true);
|
||||
|
||||
// shell.writeToProcess("chmod 777 " + Tools.homeJreDir + "/bin/java");
|
||||
shell.writeToProcess("set -e");
|
||||
shell.writeToProcess(testArgs.toArray(new String[0]));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue