repo_description: Professional Antigravity Account Manager & Switcher. One-click seamless account switching for Antigravity Tools. Built with Tauri v2 + React (Rust).专业的 Antigravity 账号管理与切换工具。为 Antigravity 提供一键无缝账号切换功能。
repo_topics: account-manager antigravity
code: /**
   * Detect if the app is running in a Tauri environment
   */
  export const isTauri = () => {
      return typeof window !== 'undefined' &&
          (!!(window as any).__TAURI_INTERNALS__ || !!(window as any).__TAURI__);
  };
  
  /**
   * Detect if running on Linux
   */
  export const isLinux = () => {
      return navigator.userAgent.toLowerCase().includes('linux');
  };
  