mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-08 22:48:28 -04:00
dankinstall: add danksearch and dankcalendar as optional deps
This commit is contained in:
@@ -139,6 +139,18 @@ func (m Model) deployConfigurations() tea.Cmd {
|
||||
}
|
||||
}
|
||||
|
||||
func (m Model) optionalDepSelected(name string) bool {
|
||||
if m.disabledItems[name] {
|
||||
return false
|
||||
}
|
||||
for _, dep := range m.dependencies {
|
||||
if dep.Name == name {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m Model) useSystemdConfig() bool {
|
||||
if m.osInfo == nil {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user