don't put full name into window title

This commit is contained in:
Bella 2020-02-21 16:21:21 -05:00
parent 6a3ff906c8
commit 7a63985a69
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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"));
}

1
ver.sh
View File

@ -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