Updated version checker.
This commit is contained in:
1 parent
73f9d3a155
commit
b802f4739b
4 files changed
+12
-4
No files matched your search
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<groupId>com.rsscripting</groupId>
|
<groupId>com.rsscripting</groupId>
|
||||||
<artifactId>rs-mobstand</artifactId>
|
<artifactId>rs-mobstand</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.1</version>
|
||||||
|
|
||||||
<name>RS-MobStand</name>
|
<name>RS-MobStand</name>
|
||||||
|
|
||||||
@@ -59,7 +59,14 @@
|
|||||||
<build>
|
<build>
|
||||||
|
|
||||||
<!-- Final Jar Name -->
|
<!-- Final Jar Name -->
|
||||||
<finalName>RS-MobStand-1.0.0</finalName>
|
<finalName>${project.name}-${project.version}</finalName>
|
||||||
|
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ public class VersionChecker {
|
|||||||
"Unknown";
|
"Unknown";
|
||||||
|
|
||||||
private static final String VERSION_URL =
|
private static final String VERSION_URL =
|
||||||
"https://raw.githubusercontent.com/russelburgraymond/RS-MobStand/main/version.txt";
|
"https://raw.githubusercontent.com/RS-Scripting/RS-MobStand/main/version.txt";
|
||||||
|
|
||||||
public VersionChecker(
|
public VersionChecker(
|
||||||
RSMobStandPlugin plugin
|
RSMobStandPlugin plugin
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name: RS-MobStand
|
name: RS-MobStand
|
||||||
prefix: RS-MobStand
|
prefix: RS-MobStand
|
||||||
version: 1.0.0
|
version: ${project.version}
|
||||||
main: com.rsscripting.mobstand.RSMobStandPlugin
|
main: com.rsscripting.mobstand.RSMobStandPlugin
|
||||||
api-version: '1.21'
|
api-version: '1.21'
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
${project.version}
|
||||||
Reference in new issue
Block a user