diff --git a/docs/src/content/docs/changelog.mdx b/docs/src/content/docs/changelog.mdx index 95bddba3457..72310ad3d37 100644 --- a/docs/src/content/docs/changelog.mdx +++ b/docs/src/content/docs/changelog.mdx @@ -76,6 +76,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Added hyperlink for sponsor by @ansxuman in [#3958](https://github.com/wailsapp/wails/pull/3958) - Support of linux packaging of deb,rpm, and arch linux packager builds by @atterpac in [#3909](https://github.com/wailsapp/wails/3909) - Added Support for darwin universal builds and packages by diff --git a/v3/cmd/wails3/main.go b/v3/cmd/wails3/main.go index 9b430167319..5b24fb33f87 100644 --- a/v3/cmd/wails3/main.go +++ b/v3/cmd/wails3/main.go @@ -1,10 +1,12 @@ package main import ( - "github.com/pkg/browser" + "fmt" "os" "runtime/debug" + "github.com/pkg/browser" + "github.com/pterm/pterm" "github.com/samber/lo" @@ -99,7 +101,10 @@ func printFooter() { }, } - printer.Println("If Wails is useful to you or your company, please consider sponsoring the project: " + pterm.LightYellow("wails3 sponsor")) + sponsorURL := "https://github.com/sponsors/leaanthony" + // OSC 8 sequence for clickable link: \x1b]8;;url\x1b\\text\x1b]8;;\x1b\\ + linkText := fmt.Sprintf("\x1b]8;;%s\x1b\\%s\x1b]8;;\x1b\\", sponsorURL, "wails3 sponsor") + printer.Println("If Wails is useful to you or your company, please consider sponsoring the project: " + pterm.LightYellow(linkText)) } }