18 lines
548 B
Java
18 lines
548 B
Java
package p.studio.app;
|
|
|
|
import javafx.application.Application;
|
|
|
|
public final class StudioLauncher {
|
|
private StudioLauncher() {
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
if (args.length > 0 && "mcp".equals(args[0])) {
|
|
try { p.studio.app.mcp.stdio.StudioMcpStdio.main(args); }
|
|
catch (Exception failure) { System.err.println("Studio MCP could not start. Check --project, the manifest and installation."); System.exit(1); }
|
|
return;
|
|
}
|
|
Application.launch(App.class, args);
|
|
}
|
|
}
|