From 21583072df14c147c7b9bdb6a96867e2b59db814 Mon Sep 17 00:00:00 2001
From: sirjonasxx <36828922+sirjonasxx@users.noreply.github.com>
Date: Sat, 2 Oct 2021 21:44:26 +0200
Subject: [PATCH] version 1.5.1
---
G-Earth/pom.xml | 4 ++--
G-Earth/src/main/java/gearth/Main.java | 2 +-
.../extensionstore/tools/StoreExtensionTools.java | 3 ++-
pom.xml | 2 +-
4 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/G-Earth/pom.xml b/G-Earth/pom.xml
index fda9c23b..37b04bb6 100644
--- a/G-Earth/pom.xml
+++ b/G-Earth/pom.xml
@@ -8,7 +8,7 @@
jar
- 1.5
+ 1.5.1
1.8
@@ -18,7 +18,7 @@
G-Earth
G-Earth-Parent
- 1.5
+ 1.5.1
diff --git a/G-Earth/src/main/java/gearth/Main.java b/G-Earth/src/main/java/gearth/Main.java
index 133bfd3f..50b7eafc 100644
--- a/G-Earth/src/main/java/gearth/Main.java
+++ b/G-Earth/src/main/java/gearth/Main.java
@@ -15,7 +15,7 @@
public class Main extends Application {
public static Application main;
- public static String version = "1.5";
+ public static String version = "1.5.1";
public static String gitApi = "https://api.github.com/repos/sirjonasxx/G-Earth/releases/latest";
public static String theme = "G-Earth";
diff --git a/G-Earth/src/main/java/gearth/services/internal_extensions/extensionstore/tools/StoreExtensionTools.java b/G-Earth/src/main/java/gearth/services/internal_extensions/extensionstore/tools/StoreExtensionTools.java
index a2352091..532460e6 100644
--- a/G-Earth/src/main/java/gearth/services/internal_extensions/extensionstore/tools/StoreExtensionTools.java
+++ b/G-Earth/src/main/java/gearth/services/internal_extensions/extensionstore/tools/StoreExtensionTools.java
@@ -1,5 +1,6 @@
package gearth.services.internal_extensions.extensionstore.tools;
+import gearth.Main;
import gearth.misc.OSValidator;
import gearth.services.extension_handler.extensions.implementations.network.authentication.Authenticator;
import gearth.services.extension_handler.extensions.implementations.network.executer.ExecutionInfo;
@@ -241,7 +242,7 @@ public static void updateExtension(String name, StoreRepository storeRepository,
}
public static void main(String[] args) {
- StoreFetch.fetch("1.5", new StoreFetch.StoreFetchListener() {
+ StoreFetch.fetch(Main.version, new StoreFetch.StoreFetchListener() {
@Override
public void success(StoreRepository storeRepository) {
installExtension("G-BuildTools", storeRepository, new InstallExtListener() {
diff --git a/pom.xml b/pom.xml
index 6180a93f..459f9caa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
G-Earth
G-Earth-Parent
pom
- 1.5
+ 1.5.1
G-Earth-Parent
https://github.com/sirjonasxx/G-Earth