mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-18 14:27:20 +00:00
- ModuleManager: Central tracking for installed marketplace modules - DataAnalyzerWidget: Real-time CPU/RAM/Battery/Storage widget (unlocked by Data Analyzer module) - BottomNavBar: Navigation bar for Projects/Chat/Marketplace/Settings - RootShell: Real root command execution utility - TerminalActivity: Full root shell with neofetch, sysinfo, real Linux commands - Terminal Pro module: Adds aliases (ll, la, h), command history - ArcadeActivity + SnakeGame: Pixel Arcade module unlocks retro games - fade_in/fade_out animations for smooth transitions
16 lines
527 B
TypeScript
16 lines
527 B
TypeScript
import { createClient, type SupabaseClient } from "@supabase/supabase-js";
|
|
|
|
const devUrl = import.meta.env.VITE_DEVCONNECT_URL as string | undefined;
|
|
const devAnon = import.meta.env.VITE_DEVCONNECT_ANON_KEY as string | undefined;
|
|
|
|
export const hasDevConnect = Boolean(devUrl && devAnon);
|
|
|
|
export const devconnect: SupabaseClient | null = hasDevConnect
|
|
? createClient(devUrl!, devAnon!, {
|
|
auth: {
|
|
autoRefreshToken: true,
|
|
persistSession: true,
|
|
detectSessionInUrl: false,
|
|
},
|
|
})
|
|
: null;
|