amaran-light-cli
Version:
Command line tool for controlling Aputure Amaran lights via WebSocket to a local Amaran desktop app.
29 lines • 944 B
TypeScript
export interface AppConfig {
wsUrl?: string;
clientId?: string;
debug?: boolean;
latitude?: number;
longitude?: number;
cctMin?: number;
cctMax?: number;
intensityMin?: number;
intensityMax?: number;
autoStartApp?: boolean;
[key: string]: unknown;
}
/**
* Check if the Amaran desktop app is running by looking for processes
* that contain "amaran desktop" (case-insensitive)
*/
export declare function isAmaranAppRunning(debug?: boolean): Promise<boolean>;
/**
* Attempt to start the Amaran desktop app
* This implementation tries common locations and methods for macOS
*/
export declare function startAmaranApp(debug?: boolean): Promise<boolean>;
/**
* Main function to handle autostart logic
* Checks if app is running, and if not, attempts to start it (unless disabled)
*/
export declare function handleAutostart(debug?: boolean): Promise<boolean>;
//# sourceMappingURL=autostart.d.ts.map