public static void main( String[] args ) {
		IJThemesManager themesManager = new IJThemesManager();
		themesManager.loadBundledThemes();

		for( IJThemeInfo ti : themesManager.bundledThemes ) {
			if( ti.discontinued )
				continue;

			if( ti.sourceCodeUrl == null || ti.sourceCodePath == null ) {
				System.out.println( "    " + ti.name + " NOT downloaded. Needs manual update from release on JetBrains Plugin portal." );
				continue;
			}

			String fromUrl = ti.sourceCodeUrl + "/" + ti.sourceCodePath;
			if( fromUrl.contains( "github.com" ) )
				fromUrl += "?raw=true";
			else if( fromUrl.contains( "gitlab.com" ) )
				fromUrl = fromUrl.replace( "/blob/", "/raw/" );

			String toPath = "../flatlaf-intellij-themes/src/main/resources" + IJThemesPanel.THEMES_PACKAGE + ti.resourceName;

			download( fromUrl, toPath );
		}
	}
This tool updates all IntelliJ themes listed in themes.json by downloading
them from the source code repositories.

@author Karl Tauber
flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/intellijthemes/IJThemesUpdater.java