Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptTiger committed Jul 11, 2023
0 parents commit a1696c9
Show file tree
Hide file tree
Showing 6 changed files with 692 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
/Release/*
41 changes: 41 additions & 0 deletions Build.cmd
@@ -0,0 +1,41 @@
@echo off

echo Set build information for Java client...
set PROJECT=GeoIP
set PACKAGE=geoip
set ENTRY=Main

if exist Release (
echo Cleaning up old release files...
rd /s /q Release
)

set STATUS=complete

set JV=8
call :Build

set JV=17
call :Build

echo Build %STATUS%
exit /b

:Build
echo Compiling source files to Java %JV%...
if %JV% leq 8 (javac -d Release\%JV% src\%PACKAGE%\*.java --release %JV%
) else javac -d Release\%JV% src\%PACKAGE%\*.java src\module-info.java --release %JV%

if %ERRORLEVEL% neq 0 (
echo Compile error
set STATUS=incomplete
exit /b
)

echo Archiving to Java %JV% jar file...
cd Release\%JV%
if %JV% leq 8 (jar cfe %PROJECT%-%JV%.jar %PACKAGE%.%ENTRY% %PACKAGE%\*.class
) else jar cfe %PROJECT%-%JV%.jar %PACKAGE%.%ENTRY% %PACKAGE%\*.class module-info.class
cd ..\..

exit /b
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 ScriptTiger

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
19 changes: 19 additions & 0 deletions README.md
@@ -0,0 +1,19 @@
[![Say Thanks!](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://docs.google.com/forms/d/e/1FAIpQLSfBEe5B_zo69OBk19l3hzvBmz3cOV6ol1ufjh0ER1q3-xd2Rg/viewform)

[![ScriptTiger/GeoIP](https://scripttiger.github.io/images/GeoIP-Interface.png)](https://github.com/ScriptTiger/GeoIP)

# GeoIP
A Java GUI client for the [IP_Search](https://github.com/ScriptTiger/goIP) REST API.

**GeoIP-8.jar**
Supported by JDK/JRE 8+ (suitable for most users).

**GeoIP-17.jar**
Supported by JDK/JRE 17+.

# More About ScriptTiger

For more ScriptTiger scripts and goodies, check out ScriptTiger's GitHub Pages website:
https://scripttiger.github.io/

[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MZ4FH4G5XHGZ4)

0 comments on commit a1696c9

Please sign in to comment.