UNPKG

@zubridge/electron

Version:

A streamlined state management library for Electron applications using Zustand.

12 lines (11 loc) 472 B
/** * Determines if the application is running in development mode * * Uses a combination of checks to ensure consistent behavior: * 1. Checks if app is packaged (production builds are packaged) * 2. Checks NODE_ENV environment variable * 3. Checks ELECTRON_IS_DEV environment variable (set by electron-is-dev or similar utilities) * * @returns {boolean} True if running in development mode, false otherwise */ export declare const isDev: () => Promise<boolean>;