I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit 31393c2b authored by zzz's avatar zzz
Browse files

Update: Add message about pack200 plugins

parent e3fc34ef
No related branches found
No related tags found
No related merge requests found
...@@ -379,7 +379,11 @@ class PluginUpdateRunner extends UpdateRunner { ...@@ -379,7 +379,11 @@ class PluginUpdateRunner extends UpdateRunner {
f.delete(); f.delete();
to.delete(); to.delete();
FileUtil.rmdir(tempDir, false); FileUtil.rmdir(tempDir, false);
statusDone("<b>" + _t("Plugin from {0} is corrupt", url) + "</b>"); String msg = _t("Plugin from {0} is corrupt", url);
// too hard to figure out if it actually contains pack200 files, so just add a hint...
if (!FileUtil.isPack200Supported())
msg += " (or requires Pack200 which is unsupported in this JVM)";
statusDone("<b>" + msg + "</b>");
return null; return null;
} }
File installProps = new File(tempDir, "plugin.config"); File installProps = new File(tempDir, "plugin.config");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment