all: add support for freshtomato

This commit is contained in:
Cuong Manh Le
2023-06-02 20:21:17 +07:00
committed by Cuong Manh Le
parent fc502b920b
commit ee53db1e35
14 changed files with 532 additions and 76 deletions
+9
View File
@@ -48,6 +48,15 @@ func init() {
},
new: newUbiosService,
},
&linuxSystemService{
name: "tomato",
detect: func() bool { return Name() == Tomato },
interactive: func() bool {
is, _ := isInteractive()
return is
},
new: newTomatoService,
},
}
systems = append(systems, service.AvailableSystems()...)
service.ChooseSystem(systems...)