Skip to content

Commit a1696c9

Browse files
committed
Initial commit
0 parents  commit a1696c9

6 files changed

Lines changed: 692 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Release/*

Build.cmd

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
@echo off
2+
3+
echo Set build information for Java client...
4+
set PROJECT=GeoIP
5+
set PACKAGE=geoip
6+
set ENTRY=Main
7+
8+
if exist Release (
9+
echo Cleaning up old release files...
10+
rd /s /q Release
11+
)
12+
13+
set STATUS=complete
14+
15+
set JV=8
16+
call :Build
17+
18+
set JV=17
19+
call :Build
20+
21+
echo Build %STATUS%
22+
exit /b
23+
24+
:Build
25+
echo Compiling source files to Java %JV%...
26+
if %JV% leq 8 (javac -d Release\%JV% src\%PACKAGE%\*.java --release %JV%
27+
) else javac -d Release\%JV% src\%PACKAGE%\*.java src\module-info.java --release %JV%
28+
29+
if %ERRORLEVEL% neq 0 (
30+
echo Compile error
31+
set STATUS=incomplete
32+
exit /b
33+
)
34+
35+
echo Archiving to Java %JV% jar file...
36+
cd Release\%JV%
37+
if %JV% leq 8 (jar cfe %PROJECT%-%JV%.jar %PACKAGE%.%ENTRY% %PACKAGE%\*.class
38+
) else jar cfe %PROJECT%-%JV%.jar %PACKAGE%.%ENTRY% %PACKAGE%\*.class module-info.class
39+
cd ..\..
40+
41+
exit /b

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 ScriptTiger
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[![Say Thanks!](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://docs.google.com/forms/d/e/1FAIpQLSfBEe5B_zo69OBk19l3hzvBmz3cOV6ol1ufjh0ER1q3-xd2Rg/viewform)
2+
3+
[![ScriptTiger/GeoIP](https://scripttiger.github.io/images/GeoIP-Interface.png)](https://github.com/ScriptTiger/GeoIP)
4+
5+
# GeoIP
6+
A Java GUI client for the [IP_Search](https://github.com/ScriptTiger/goIP) REST API.
7+
8+
**GeoIP-8.jar**
9+
Supported by JDK/JRE 8+ (suitable for most users).
10+
11+
**GeoIP-17.jar**
12+
Supported by JDK/JRE 17+.
13+
14+
# More About ScriptTiger
15+
16+
For more ScriptTiger scripts and goodies, check out ScriptTiger's GitHub Pages website:
17+
https://scripttiger.github.io/
18+
19+
[![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 commit comments

Comments
 (0)