Skip to content

Commit

Permalink
Update repo to print version on instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
retiutut committed Aug 25, 2023
1 parent d7f4983 commit 4adf382
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion java-package/openbci_gui_helpers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>openbci_gui_helpers</groupId>
<artifactId>openbci_gui_helpers</artifactId>
<version>1.1</version>
<version>1.1.0</version>

<name>openbci_gui_helpers</name>
<url>https://github.com/OpenBCI/OpenBCI_GUI_Helpers</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ private interface DllNativeInterface extends Library

private static DllInterface instance;
private static DllNativeInterface instance_native;
private static final String VERSION = "1.1.0";

static
{
System.out.println("OpenBCI_GUI_Helpers Version: " + VERSION);

String lib_name = "libGanglionScan.so";
String lib_native_name = "libGanglionNativeScan.so";
if (SystemUtils.IS_OS_WINDOWS)
Expand Down Expand Up @@ -70,7 +73,7 @@ private static String unpack_from_jar (String lib_name)
} catch (Exception io)
{
io.printStackTrace ();
System.err.println ("native library: " + lib_name + " is not found in jar file");
System.err.println("native library: " + lib_name + " is not found in jar file");
System.err.println("file absolute to path: " + file.getAbsoluteFile().toPath());
System.err.println("file get absolute path: " + file.getAbsolutePath());
return "";
Expand Down

0 comments on commit 4adf382

Please sign in to comment.