|
|
@ -15,6 +15,8 @@ const ( |
|
|
|
edgeProfilePath = "/Users/*/Library/Application Support/Microsoft Edge/*/" |
|
|
|
edgeProfilePath = "/Users/*/Library/Application Support/Microsoft Edge/*/" |
|
|
|
fireFoxProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.default-release/" |
|
|
|
fireFoxProfilePath = "/Users/*/Library/Application Support/Firefox/Profiles/*.default-release/" |
|
|
|
braveProfilePath = "/Users/*/Library/Application Support/BraveSoftware/Brave-Browser/*/" |
|
|
|
braveProfilePath = "/Users/*/Library/Application Support/BraveSoftware/Brave-Browser/*/" |
|
|
|
|
|
|
|
operaProfilePath = "/Users/*/Library/Application Support/com.operasoftware.Opera/" |
|
|
|
|
|
|
|
operaGXProfilePath = "/Users/*/Library/Application Support/com.operasoftware.OperaGX/" |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
const ( |
|
|
|
const ( |
|
|
@ -22,6 +24,7 @@ const ( |
|
|
|
chromeBetaStorageName = "Chrome" |
|
|
|
chromeBetaStorageName = "Chrome" |
|
|
|
edgeStorageName = "Microsoft Edge" |
|
|
|
edgeStorageName = "Microsoft Edge" |
|
|
|
braveStorageName = "Brave" |
|
|
|
braveStorageName = "Brave" |
|
|
|
|
|
|
|
operaStorageName = "Opera" |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
var ( |
|
|
|
var ( |
|
|
@ -61,6 +64,18 @@ var ( |
|
|
|
Storage: chromeBetaStorageName, |
|
|
|
Storage: chromeBetaStorageName, |
|
|
|
New: NewChromium, |
|
|
|
New: NewChromium, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
"opera": { |
|
|
|
|
|
|
|
ProfilePath: operaProfilePath, |
|
|
|
|
|
|
|
Name: operaName, |
|
|
|
|
|
|
|
Storage: operaStorageName, |
|
|
|
|
|
|
|
New: NewChromium, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"opera-gx": { |
|
|
|
|
|
|
|
ProfilePath: operaGXProfilePath, |
|
|
|
|
|
|
|
Name: operaGXName, |
|
|
|
|
|
|
|
Storage: operaStorageName, |
|
|
|
|
|
|
|
New: NewChromium, |
|
|
|
|
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|