File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
kotlin/platform/forge/creator
resources/fileTemplates/j2ee/forge Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -226,6 +226,11 @@ object Fg3Template : BaseTemplate() {
226226 props[" UPDATE_URL" ] = url
227227 }
228228 }
229+ config.website?.let { url ->
230+ if (url.isNotBlank()) {
231+ props[" WEBSITE" ] = url
232+ }
233+ }
229234 if (config.hasAuthors()) {
230235 props[" AUTHOR_LIST" ] = config.authors.joinToString(" , " )
231236 }
Original file line number Diff line number Diff line change @@ -29,7 +29,11 @@ updateJSONURL="${UPDATE_URL}" #optional
2929#updateJSONURL="https://change.me.example.invalid/updates.json" #optional
3030#end
3131# A URL for the "homepage" for this mod, displayed in the mod UI
32+ #if (${WEBSITE})
33+ displayURL="${WEBSITE}" #optional
34+ #else
3235#displayURL="https://change.me.to.your.mods.homepage.example.invalid/" #optional
36+ #end
3337# A file name (in the root of the mod JAR) containing a logo for display
3438#logoFile="${ARTIFACT_ID}.png" #optional
3539# A text field displayed in the mod UI
You can’t perform that action at this time.
0 commit comments