mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
Fixed some minor bugs
- Backup before implementing terminal - Fixed shebang issue in Gradle executable - Clean all binary files in JDK (earlier it only cleaned binaries in bin directory) - If the CodeEditor is not editable, do not show cut and paste options in text action mode - Some more changes
This commit is contained in:
@@ -102,7 +102,7 @@ public class DownloadActivity extends StudioActivity {
|
||||
}
|
||||
}
|
||||
sb.append("rm -rf '" + getApp().getToolsDownloadDirectory().getAbsolutePath() + "' && ");
|
||||
sb.append("echo 'Cleaning unsupported flags in binaries...' && $BUSYBOX find $JAVA_HOME/bin -type f -exec androidide-cleaner {} \\; && ");
|
||||
sb.append("echo 'Cleaning unsupported flags in binaries...' && $BUSYBOX find $JAVA_HOME -type f -exec androidide-cleaner {} \\; && ");
|
||||
sb.append("echo " + DONE);
|
||||
server.bgAppend(sb.toString());
|
||||
}
|
||||
@@ -115,6 +115,8 @@ public class DownloadActivity extends StudioActivity {
|
||||
if(line.contains(DONE)) {
|
||||
getApp().getPrefManager().putBoolean(PreferenceManager.KEY_FRAMEWORK_INSTALLED, true);
|
||||
showRestartNeeded();
|
||||
if(getProgressSheet().isShowing())
|
||||
getProgressSheet().dismiss();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user