2023-06-30 09:54:08 +00:00
|
|
|
package util
|
|
|
|
|
2023-07-09 11:16:52 +00:00
|
|
|
import (
|
|
|
|
"go.mau.fi/mautrix-gmessages/libgm/binary"
|
|
|
|
)
|
|
|
|
|
|
|
|
var BrowserType = binary.BrowserTypes_CHROME
|
|
|
|
|
2023-06-30 13:31:35 +00:00
|
|
|
const GoogleAPIKey = "AIzaSyCA4RsOZUFrm9whhtGosPlJLmVPnfSHKz8"
|
|
|
|
const UserAgent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
|
|
|
|
const OS = "Linux"
|
|
|
|
const XUserAgent = "grpc-web-javascript/0.1"
|
|
|
|
const QRCodeURLBase = "https://support.google.com/messages/?p=web_computer#?c="
|
2023-07-09 11:16:52 +00:00
|
|
|
|
|
|
|
// Deprecated
|
|
|
|
var (
|
|
|
|
BROWSER_TYPE = BrowserType
|
|
|
|
GOOG_API_KEY = GoogleAPIKey
|
|
|
|
USER_AGENT = UserAgent
|
|
|
|
X_USER_AGENT = XUserAgent
|
|
|
|
QR_CODE_URL = QRCodeURLBase
|
|
|
|
)
|