MCPcopy Create free account
hub / github.com/crossuo/crossuo / osascriptPresent

Function osascriptPresent

external/tinyfiledialogs.c:3788–3797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3786
3787
3788static int osascriptPresent(void)
3789{
3790 static int lOsascriptPresent = -1 ;
3791 if ( lOsascriptPresent < 0 )
3792 {
3793 gWarningDisplayed |= !!getenv("SSH_TTY");
3794 lOsascriptPresent = detectPresence( "osascript" ) ;
3795 }
3796 return lOsascriptPresent && graphicMode() && !getenv("SSH_TTY") ;
3797}
3798
3799
3800static int qarmaPresent(void)

Callers 2

tinyfd_beepFunction · 0.85
tinyfiledialogs.cFile · 0.85

Calls 2

detectPresenceFunction · 0.85
graphicModeFunction · 0.85

Tested by

no test coverage detected