import { app } from "electron" ; if ( ! app . isPackaged ) var chalk = require ( "chalk" ) ; /**
 * Show info message in console
 * */ export function info ( message ) { if ( app . isPackaged ) return ; console . log ( `${ chalk . bgBlue ( chalk . white ( "  INFO   " ) ) } ${ message }` ) ; } /**
 * Show success message in console
 * */ export function success ( message ) { if ( app . isPackaged ) return ; console . log ( `${ chalk . bgGreen ( " SUCCESS " ) } ${ message }` ) ; } /**
 * Show error message in console
 * */ export function error ( message ) { if ( app . isPackaged ) return ; console . log ( `${ chalk . bgRed ( "  ERROR  " ) } ${ message }` ) ; }