Wrapping an Existing Web Application

You can easily convert an existing web application to a desktop one by writing a couple of lines of code or by letting the Equo CLI do that job for you:

equo wrap --url https://example.com webwrapperApplication

Below you can see the basic code to wrap an existing web application:

@Component
public class CreateEquoApplication implements IEquoApplication {

    public static void main(String[] args) throws Exception {
        EquoApp.launch();
    }

    public EquoApplicationBuilder buildApp(EquoApplicationBuilder appBuilder) {
        return appBuilder
                .wrap("https://www.equoplatform.com/")
                .start();
    }
}