feat: support extension for chromium

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-04-29 23:59:37 +08:00
parent d6cb101512
commit 26de1075ee
11 changed files with 139 additions and 29 deletions
-1
View File
@@ -40,7 +40,6 @@ func PickBrowser(name, profile string) ([]Browser, error) {
func pickChromium(name, profile string) []Browser {
var browsers []Browser
name = strings.ToLower(name)
// TODO: add support for 「all」 flag and set profilePath
if name == "all" {
for _, v := range chromiumList {
if !fileutil.FolderExists(filepath.Clean(v.profilePath)) {