added github repository link
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
Icon = "Icon.png"
|
||||
Name = "TurtleSilicon"
|
||||
ID = "com.tairasu.turtlesilicon"
|
||||
Version = "1.0.3"
|
||||
Build = 6
|
||||
Version = "1.0.5"
|
||||
Build = 12
|
||||
|
2
main.go
2
main.go
@@ -6,7 +6,7 @@ import (
|
||||
"turtlesilicon/pkg/ui" // Updated import path
|
||||
)
|
||||
|
||||
const appVersion = "1.0.5" // Added logo and unpatch functionality
|
||||
const appVersion = "1.0.5"
|
||||
|
||||
func main() {
|
||||
myApp := app.NewWithID("com.tairasu.turtlesilicon")
|
||||
|
12
pkg/ui/ui.go
12
pkg/ui/ui.go
@@ -2,6 +2,7 @@ package ui
|
||||
|
||||
import (
|
||||
"log"
|
||||
"net/url"
|
||||
"os" // Added import for os.ReadFile
|
||||
"path/filepath"
|
||||
"strings"
|
||||
@@ -211,11 +212,22 @@ func CreateUI(myWindow fyne.Window) fyne.CanvasObject {
|
||||
|
||||
UpdateAllStatuses() // Initial UI state update
|
||||
|
||||
// Create GitHub link
|
||||
githubURL := "https://github.com/tairasu/TurtleSilicon"
|
||||
parsedURL, err := url.Parse(githubURL)
|
||||
if err != nil {
|
||||
log.Printf("Error parsing GitHub URL: %v", err)
|
||||
}
|
||||
githubLink := widget.NewHyperlink("GitHub Repository", parsedURL)
|
||||
githubContainer := container.NewCenter(githubLink)
|
||||
|
||||
return container.NewVBox(
|
||||
logoContainer,
|
||||
pathSelectionForm,
|
||||
patchOperationsLayout,
|
||||
metalHudCheckbox,
|
||||
container.NewPadded(launchButton),
|
||||
widget.NewSeparator(),
|
||||
githubContainer,
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user