mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Added hyperlink for sponsor (#3958)
* Added hyperlink for sponsor * Updated the changelog * removed whitespace
This commit is contained in:
parent
454d170dfb
commit
f61316c18d
2 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue