Files
zulip-desktop/app/renderer/js/utils/system-util.ts
Anders Kaseorg 26b226c7ae Use .ts extensions for imports.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-06-20 16:35:18 -07:00

17 lines
393 B
TypeScript

import {ipcRenderer} from "../typed-ipc-renderer.ts";
export const connectivityError: string[] = [
"ERR_INTERNET_DISCONNECTED",
"ERR_PROXY_CONNECTION_FAILED",
"ERR_CONNECTION_RESET",
"ERR_NOT_CONNECTED",
"ERR_NAME_NOT_RESOLVED",
"ERR_NETWORK_CHANGED",
];
const userAgent = ipcRenderer.sendSync("fetch-user-agent");
export function getUserAgent(): string {
return userAgent;
}