mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-10 07:25:37 -05:00
rename backend to core
This commit is contained in:
39
core/internal/tui/messages.go
Normal file
39
core/internal/tui/messages.go
Normal file
@@ -0,0 +1,39 @@
|
||||
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{}
|
||||
Reference in New Issue
Block a user