From 6ccdcef0d0c71224ef6e80a14d41710ebe54b3de Mon Sep 17 00:00:00 2001 From: DevSnaith <65865554+DevSnaith@users.noreply.github.com> Date: Fri, 14 Apr 2023 05:34:38 +0300 Subject: [PATCH] Main() added --- src/org/eu/lumiere/Lumiere.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/org/eu/lumiere/Lumiere.java b/src/org/eu/lumiere/Lumiere.java index 989af10..d367699 100644 --- a/src/org/eu/lumiere/Lumiere.java +++ b/src/org/eu/lumiere/Lumiere.java @@ -85,4 +85,11 @@ public class Lumiere implements ServerEvents{ public int getCurrentPort() { return server_port; } + + public static void main(String[] args) throws IOException { + StringBuilder sb = new StringBuilder(); + sb.append("Lumiere-server version 1.0").append("\n"); + sb.append("lumiere-server at github https://github.com/DevSnaith/lumiere-server").append("\n"); + System.out.write(sb.toString().getBytes()); + } }