feat: update browser for windows profile path
This commit is contained in:
parent
5d25b52877
commit
5048cce1ed
|
@ -23,6 +23,12 @@ const (
|
|||
speed360ProfilePath = "/AppData/Local/360chrome/Chrome/User Data/*/"
|
||||
qqBrowserProfilePath = "/AppData/Local/Tencent/QQBrowser/User Data/*/"
|
||||
firefoxProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-release/"
|
||||
operaProfilePath = "/AppData/Roaming/Opera Software/Opera Stable/"
|
||||
operaKeyPath = "/AppData/Roaming/Opera Software/Opera Stable/Local State"
|
||||
operaGXProfilepath = "/AppData/Roaming/Opera Software/Opera GX Stable/"
|
||||
operaGXKeyPath = "/AppData/Roaming/Opera Software/Opera GX Stable/Local State"
|
||||
vivaldiProfilePath = "/AppData/Local/Vivaldi/User Data/Default/"
|
||||
vivaldiKeyPath = "/AppData/Local/Vivaldi/Local State"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -72,6 +78,24 @@ var (
|
|||
Name: braveName,
|
||||
New: NewChromium,
|
||||
},
|
||||
"opera": {
|
||||
ProfilePath: os.Getenv("USERPROFILE") + operaProfilePath,
|
||||
KeyPath: os.Getenv("USERPROFILE") + operaKeyPath,
|
||||
Name: operaName,
|
||||
New: NewChromium,
|
||||
},
|
||||
"operagx": {
|
||||
ProfilePath: os.Getenv("USERPROFILE") + operaGXProfilepath,
|
||||
KeyPath: os.Getenv("USERPROFILE") + operaGXKeyPath,
|
||||
Name: operaGXName,
|
||||
New: NewChromium,
|
||||
},
|
||||
"Vivaldi": {
|
||||
ProfilePath: os.Getenv("USERPROFILE") + vivaldiProfilePath,
|
||||
KeyPath: os.Getenv("USERPROFILE") + vivaldiKeyPath,
|
||||
Name: vivaldiName,
|
||||
New: NewChromium,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue