feat: support edge-dev for linux

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2020-10-22 13:02:06 +08:00
parent 6bd26e8854
commit 4cc3f7d334
5 changed files with 34 additions and 30 deletions
+7 -6
View File
@@ -20,8 +20,14 @@ var (
ProfilePath string
Name string
KeyPath string
New func(profile, key, name string) (Browser, error)
Storage string
New func(profile, key, name, storage string) (Browser, error)
}{
"firefox": {
ProfilePath: fireFoxProfilePath,
Name: firefoxName,
New: NewFirefox,
},
"chrome": {
ProfilePath: chromeProfilePath,
Name: chromeName,
@@ -32,11 +38,6 @@ var (
Name: edgeName,
New: NewChromium,
},
"firefox": {
ProfilePath: fireFoxProfilePath,
Name: firefoxName,
New: NewFirefox,
},
}
)