chore: 关于页面跳转到具体的分支/版本

This commit is contained in:
hstyi
2025-01-02 11:17:51 +08:00
committed by hstyi
parent 470b95cc42
commit db3e15508c

View File

@@ -879,13 +879,18 @@ class SettingsOptionsPane : OptionsPane() {
.add("${I18n.getString("termora.settings.about.author")}:").xy(1, rows) .add("${I18n.getString("termora.settings.about.author")}:").xy(1, rows)
.add(createHyperlink("https://github.com/hstyi")).xy(3, rows).apply { rows += step } .add(createHyperlink("https://github.com/hstyi")).xy(3, rows).apply { rows += step }
.add("${I18n.getString("termora.settings.about.source")}:").xy(1, rows) .add("${I18n.getString("termora.settings.about.source")}:").xy(1, rows)
.add(createHyperlink("https://github.com/TermoraDev/termora")).xy(3, rows).apply { rows += step } .add(
createHyperlink(
"https://github.com/TermoraDev/termora/tree/${Application.getVersion()}",
"https://github.com/TermoraDev/termora",
)
).xy(3, rows).apply { rows += step }
.add("${I18n.getString("termora.settings.about.issue")}:").xy(1, rows) .add("${I18n.getString("termora.settings.about.issue")}:").xy(1, rows)
.add(createHyperlink("https://github.com/TermoraDev/termora/issues")).xy(3, rows).apply { rows += step } .add(createHyperlink("https://github.com/TermoraDev/termora/issues")).xy(3, rows).apply { rows += step }
.add("${I18n.getString("termora.settings.about.third-party")}:").xy(1, rows) .add("${I18n.getString("termora.settings.about.third-party")}:").xy(1, rows)
.add( .add(
createHyperlink( createHyperlink(
"https://github.com/TermoraDev/termora/blob/master/THIRDPARTY", "https://github.com/TermoraDev/termora/blob/${Application.getVersion()}/THIRDPARTY",
"Open-source software" "Open-source software"
) )
).xy(3, rows).apply { rows += step } ).xy(3, rows).apply { rows += step }