diff --git a/fullVer.sh b/fullVer.sh index e08c2be7..fce49d45 100755 --- a/fullVer.sh +++ b/fullVer.sh @@ -5,6 +5,7 @@ sed -i "s/modVersion=.*/modVersion=$1/" gradle.properties sed -i "s/MODVER = \".*\";/MODVER = \"$1\";/" src/main/java/me/zeroeightsix/kami/KamiMod.java +sed -i "s/MODVERSMALL = \".*\";/MODVERSMALL = \"$1\";/" src/main/java/me/zeroeightsix/kami/KamiMod.java sed -i "s/\"version\": \".*\",/\"version\": \"${1:1}\",/" src/main/resources/mcmod.info git reset diff --git a/src/main/java/me/zeroeightsix/kami/KamiMod.java b/src/main/java/me/zeroeightsix/kami/KamiMod.java index d915f603..fc8fe51e 100644 --- a/src/main/java/me/zeroeightsix/kami/KamiMod.java +++ b/src/main/java/me/zeroeightsix/kami/KamiMod.java @@ -28,10 +28,7 @@ import me.zeroeightsix.kami.setting.Setting; import me.zeroeightsix.kami.setting.Settings; import me.zeroeightsix.kami.setting.SettingsRegister; import me.zeroeightsix.kami.setting.config.Configuration; -import me.zeroeightsix.kami.util.Friends; -import me.zeroeightsix.kami.util.LagCompensator; -import me.zeroeightsix.kami.util.RichPresence; -import me.zeroeightsix.kami.util.Wrapper; +import me.zeroeightsix.kami.util.*; import net.minecraft.client.Minecraft; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.common.Mod; @@ -69,6 +66,7 @@ public class KamiMod { static final String MODNAME = "KAMI Blue"; public static final String MODID = "kamiblue"; public static final String MODVER = "v1.1.2-21-02-02"; + public static final String MODVERSMALL = "v1.1.2-beta"; public static final String APP_ID = "638403216278683661"; static final String UPDATE_JSON = "https://raw.githubusercontent.com/S-B99/kamiblue/assets/assets/updateChecker.json"; @@ -153,7 +151,7 @@ public class KamiMod { } } } - Display.setTitle(MODNAME + " " + KAMI_KANJI + " " + MODVER); + Display.setTitle(MODNAME + " " + KAMI_KANJI + " " + MODVERSMALL); // Display.setIcon(WindowIcon.ExtractByteBufferFromImagePath("kami.png")); } diff --git a/ver.sh b/ver.sh index 58155fd3..7f7a9921 100755 --- a/ver.sh +++ b/ver.sh @@ -8,6 +8,7 @@ dateM=$(date +'%m') sed -i "s/modVersion=.*/modVersion=$1\-${dateD}\-${dateM}\-$2/" gradle.properties sed -i "s/MODVER = \".*\";/MODVER = \"$1\-${dateD}\-${dateM}\-$2\";/" src/main/java/me/zeroeightsix/kami/KamiMod.java +sed -i "s/MODVERSMALL = \".*\";/MODVERSMALL = \"$1\-beta\";/" src/main/java/me/zeroeightsix/kami/KamiMod.java sed -i "s/\"version\": \".*\",/\"version\": \"${1:1}\-${dateD}\-${dateM}\-$2\",/" src/main/resources/mcmod.info git reset