mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
40 lines
651 B
Go
40 lines
651 B
Go
package tui
|
|
|
|
import (
|
|
"github.com/AvengeMedia/DankMaterialShell/core/internal/deps"
|
|
"github.com/AvengeMedia/DankMaterialShell/core/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{}
|