Console: Show full logger.config path on /configlogging

Don't say 'Plugin downloaded' when installing from file
This commit is contained in:
zzz
2017-11-25 19:53:25 +00:00
parent 51a6f298e2
commit 4a59c19ac9
2 changed files with 6 additions and 2 deletions

View File

@@ -136,7 +136,8 @@ class PluginUpdateRunner extends UpdateRunner {
@Override
public void transferComplete(long alreadyTransferred, long bytesTransferred, long bytesRemaining, String url, String outputFile, boolean notModified) {
updateStatus("<b>" + _t("Plugin downloaded") + "</b>");
if (!(_xpi2pURL.startsWith("file:") || _method == UpdateMethod.FILE))
updateStatus("<b>" + _t("Plugin downloaded") + "</b>");
File f = new File(_updateFile);
File appDir = new SecureDirectory(_context.getConfigDir(), PLUGIN_DIR);
if ((!appDir.exists()) && (!appDir.mkdir())) {