Skip to content

Commit

Permalink
add website url inside of mod panel
Browse files Browse the repository at this point in the history
  • Loading branch information
NattoCB committed Sep 15, 2024
1 parent a1587c3 commit bba823d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ processResources {
filesMatching(['META-INF/mods.toml', 'pack.mcmeta', 'update.json']) {
expand replaceProperties + [project: project]
}
inputs.property "mod_homepage", mod_homepage
filesMatching("META-INF/mods.toml") {
expand 'mod_homepage': mod_homepage
}
}

println "Java: ${System.getProperty 'java.version'}, JVM: ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'}), Arch: ${System.getProperty 'os.arch'}"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ maven_group=io.github.nattocb.treasure_seas
mod_license = LGPL-3.0
mod_group_id = io.github.nattocb
mod_authors = NattoCB
mod_homepage = https://www.curseforge.com/minecraft/mc-mods/treasureseas
mod_homepage = https://modrinth.com/mod/treasure-seas
mod_github = https://github.com/i493052739/TreasureSeas

minecraft_version=1.18.2
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ version = "${mod_version}"
displayName = "${mod_name}"
authors = "${mod_authors}"
logoFile = "treasure_seas.png"
displayURL = "https://modrinth.com/mod/treasure-seas"
description = '''
Embark on an adventurous journey where fishing is more than just casting a line.
In Treasure Seas‘ enchantment, every catch is a battle as you engage in thrilling duels
Expand Down

0 comments on commit bba823d

Please sign in to comment.