Skip to content

Commit

Permalink
Add skyfactory
Browse files Browse the repository at this point in the history
  • Loading branch information
LionZXY committed Jul 11, 2024
1 parent 3f68f1a commit a02c038
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions launcher.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":"1.2.07112044","downloadFullPath":"https://minecraft.glitchless.ru/1.2.07112044.jar","SHA-256":"AQNW2bhV5PJ5C/E64cR8SvCxSdZ0Dj/Qe3B96styGNQ="}
8 changes: 4 additions & 4 deletions scripts/upload.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/env bash

cd ../
#cd ../

export JAVA_HOME="/Library/Java/JavaVirtualMachines/liberica-jdk-8-full.jdk/Contents/Home/"
#export JAVA_HOME="/Library/Java/JavaVirtualMachines/liberica-jdk-8-full.jdk/Contents/Home/"

rm -rf build/libs/
#rm -rf build/libs/

./gradlew fatJar
#./gradlew fatJar

JARPATH="build/libs/$(ls build/libs/ | tail -n +1 | head -1)"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ enum class MinecraftModpack(
defaultServer = null,
version = "1.7.10-Forge10.13.4.1614-1.7.10"
),
RLCRAFT(
modpackName = "RLCraft",
SKYFACTORY(
modpackName = "SkyFactory",
initialDownloadLink = null,
updateJsonLink = "$BASE_URL/incremental/rlcraft_changelog.json",
updateHostLink = "$BASE_URL/incremental/rlcraft",
defaultServer = ServerInfo("mc.glitchless.ru", "RLCraft Server", null, 25569),
updateJsonLink = "$BASE_URL/incremental/skyfactory_changelog.json",
updateHostLink = "$BASE_URL/incremental/skyfactory",
defaultServer = ServerInfo("mc.glitchless.ru", "SkyFactory Server", null, 25568),
version = "1.12.2-forge-14.23.5.2860"
);

Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/ru/lionzxy/tplauncher/utils/LogoUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ object LogoUtils {
private fun setLogoForMac() {
val image = Toolkit.getDefaultToolkit().getImage(logoUrl)
// Only for JDK 8, for JDK 9 use https://stackoverflow.com/questions/6006173/how-do-you-change-the-dock-icon-of-a-java-program/56924202#56924202
com.apple.eawt.Application.getApplication().dockIconImage = image
//com.apple.eawt.Application.getApplication().dockIconImage = image
}
}

0 comments on commit a02c038

Please sign in to comment.