- fix broken online assetpacks and online help by adding a proper browser agent tag (Mozilla) for System.setProperty("http.agent","");

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8428 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent d6649ab87d
commit 79c807c861
  1. 3
      sdk/jme3-core/src/com/jme3/gde/core/Installer.java

@ -64,6 +64,9 @@ public class Installer extends ModuleInstall {
// myProjectsDir.mkdirs(); // myProjectsDir.mkdirs();
// } // }
//Fixes online urls in panels
System.setProperty("http.agent", "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2");
//select project folder //select project folder
String projectDir = NbPreferences.forModule(Installer.class).get("projects_path", null); String projectDir = NbPreferences.forModule(Installer.class).get("projects_path", null);
if (projectDir == null) { if (projectDir == null) {

Loading…
Cancel
Save