initial commit

This commit is contained in:
tumillanino
2025-11-12 23:59:00 +11:00
commit 991cca06bf
274 changed files with 70484 additions and 0 deletions

39
internal/tui/messages.go Normal file
View File

@@ -0,0 +1,39 @@
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{}