mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-11-04 05:53:21 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			390 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			390 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import {ipcRenderer} from "../typed-ipc-renderer";
 | 
						|
 | 
						|
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;
 | 
						|
}
 |