format code style

moond4rk 4 years ago
parent 1117ba7921
commit 3d81278201
  1. 10
      core/browser_windows.go

@ -24,8 +24,8 @@ const (
qqBrowserProfilePath = "/AppData/Local/Tencent/QQBrowser/User Data/*/" qqBrowserProfilePath = "/AppData/Local/Tencent/QQBrowser/User Data/*/"
firefoxProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-release/" firefoxProfilePath = "/AppData/Roaming/Mozilla/Firefox/Profiles/*.default-release/"
operaProfilePath = "/AppData/Roaming/Opera Software/Opera Stable/" operaProfilePath = "/AppData/Roaming/Opera Software/Opera Stable/"
operaKeyPath = "/AppData/Roaming/Opera Software/Opera Stable/Local State" operaKeyPath = "/AppData/Roaming/Opera Software/Opera Stable/Local State"
operaGXProfilepath = "/AppData/Roaming/Opera Software/Opera GX Stable/" operaGXProfilePath = "/AppData/Roaming/Opera Software/Opera GX Stable/"
operaGXKeyPath = "/AppData/Roaming/Opera Software/Opera GX Stable/Local State" operaGXKeyPath = "/AppData/Roaming/Opera Software/Opera GX Stable/Local State"
vivaldiProfilePath = "/AppData/Local/Vivaldi/User Data/Default/" vivaldiProfilePath = "/AppData/Local/Vivaldi/User Data/Default/"
vivaldiKeyPath = "/AppData/Local/Vivaldi/Local State" vivaldiKeyPath = "/AppData/Local/Vivaldi/Local State"
@ -84,13 +84,13 @@ var (
Name: operaName, Name: operaName,
New: NewChromium, New: NewChromium,
}, },
"operagx": { "opera-gx": {
ProfilePath: os.Getenv("USERPROFILE") + operaGXProfilepath, ProfilePath: os.Getenv("USERPROFILE") + operaGXProfilePath,
KeyPath: os.Getenv("USERPROFILE") + operaGXKeyPath, KeyPath: os.Getenv("USERPROFILE") + operaGXKeyPath,
Name: operaGXName, Name: operaGXName,
New: NewChromium, New: NewChromium,
}, },
"Vivaldi": { "vivaldi": {
ProfilePath: os.Getenv("USERPROFILE") + vivaldiProfilePath, ProfilePath: os.Getenv("USERPROFILE") + vivaldiProfilePath,
KeyPath: os.Getenv("USERPROFILE") + vivaldiKeyPath, KeyPath: os.Getenv("USERPROFILE") + vivaldiKeyPath,
Name: vivaldiName, Name: vivaldiName,

Loading…
Cancel
Save