diff --git a/bin/server.dart b/bin/server.dart new file mode 100644 index 0000000..0cd9a23 --- /dev/null +++ b/bin/server.dart @@ -0,0 +1,7 @@ +import 'package:libac_flutter/packets/packets.dart'; + +void main() async { + await PacketServer.start(); + + print("Server stopping"); +} diff --git a/compile.bat b/compile.bat index 49df5e6..0836b2f 100644 --- a/compile.bat +++ b/compile.bat @@ -1,4 +1,3 @@ @echo off -call run_hive_generator.bat call flutter build windows \ No newline at end of file diff --git a/compile.sh b/compile.sh index 75ba3d4..6385e5b 100755 --- a/compile.sh +++ b/compile.sh @@ -1,4 +1,4 @@ #!/bin/bash -./run_hive_generator.sh -flutter build linux \ No newline at end of file +flutter build linux +dart build \ No newline at end of file diff --git a/run_hive_generator.bat b/run_hive_generator.bat deleted file mode 100644 index 0f4a56b..0000000 --- a/run_hive_generator.bat +++ /dev/null @@ -1,5 +0,0 @@ -@echo off - - -call flutter doctor -call dart run build_runner build \ No newline at end of file diff --git a/run_hive_generator.sh b/run_hive_generator.sh deleted file mode 100755 index 021ee71..0000000 --- a/run_hive_generator.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -flutter doctor - -dart run build_runner build \ No newline at end of file