Files
miasma-alis-installer/examples/danklinux/internal/tui/messages.go
2025-11-12 18:34:08 +11:00

40 lines
625 B
Go

package tui
import (
"github.com/AvengeMedia/danklinux/internal/deps"
"github.com/AvengeMedia/danklinux/internal/distros"
)
type logMsg struct {
message string
}
type osInfoCompleteMsg struct {
info *distros.OSInfo
err error
}
type depsDetectedMsg struct {
deps []deps.Dependency
err error
}
type packageInstallProgressMsg struct {
progress float64
step string
isComplete bool
needsSudo bool
commandInfo string
logOutput string
error error
}
type packageProgressCompletedMsg struct{}
type passwordValidMsg struct {
password string
valid bool
}
type delayCompleteMsg struct{}