String (String pluginName) { File subRepo = findSubRepo(pluginName); if (subRepo != null) { String homePath = FileUtil.toSystemIndependentName(PathManager.getHomePath()); return "/" + FileUtil.getRelativePath(homePath, FileUtil.toSystemIndependentName(subRepo.getPath()), '/'); } return "/plugins/" + pluginName; }