feat,docs: prepare initial release
This commit is contained in:
parent
2b2aaede18
commit
f14b54ea20
11 changed files with 188 additions and 100 deletions
3
model.go
3
model.go
|
|
@ -39,7 +39,7 @@ func (m model) installSpecialSoftware() error {
|
|||
} else {
|
||||
golangVersion := "1.23.4"
|
||||
if err := downloadGolang(golangVersion); err != nil {
|
||||
return fmt.Errorf("Fehler beim Herunterladen von Go: %v", err)
|
||||
return fmt.Errorf("fehler beim Herunterladen von Go: %v", err)
|
||||
}
|
||||
golangCommand := fmt.Sprintf("sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go%s.linux-%s.tar.gz", golangVersion, runtime.GOARCH)
|
||||
if err := installPackage(golangCommand, "", m.sudoPassword); err != nil {
|
||||
|
|
@ -90,7 +90,6 @@ func (m model) Init() tea.Cmd {
|
|||
}
|
||||
|
||||
func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
tea.EnterAltScreen()
|
||||
switch msg := msg.(type) {
|
||||
case tea.WindowSizeMsg:
|
||||
m.width, m.height = msg.Width, msg.Height
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue