fix: find chromium key failed on windows

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ committed 2022-04-20 02:18:55 +08:00
1 parent 2de62ac1bb
commit 8c2f72ccb6
6 files changed
+29 -35

No files matched your search

+1 -3
View File
@@ -28,9 +28,7 @@ var (
// New returns a new firefox instance.
func New(name, storage, profilePath string, items []item.Item) ([]*firefox, error) {
if !fileutil.FolderExists(profilePath) {
return nil, ErrProfilePathNotFound
}
f := &firefox{
name: name,
storage: storage,