diff options
author | comex | 2015-07-13 17:08:55 -0400 |
---|---|---|
committer | comex | 2015-07-13 17:08:55 -0400 |
commit | d52241cfc8b1e1a5ed602fedfe9d11b4653c96cf (patch) | |
tree | fedd5df8cc9dfdd35b22114e737a24939c3c2027 /darwin-bootstrap/safemode-ui-hook.m | |
parent | be beta (diff) | |
download | substitute-d52241cfc8b1e1a5ed602fedfe9d11b4653c96cf.tar.gz |
hook up the list of dylibs
Diffstat (limited to 'darwin-bootstrap/safemode-ui-hook.m')
-rw-r--r-- | darwin-bootstrap/safemode-ui-hook.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/darwin-bootstrap/safemode-ui-hook.m b/darwin-bootstrap/safemode-ui-hook.m index dbae60c..dc505dc 100644 --- a/darwin-bootstrap/safemode-ui-hook.m +++ b/darwin-bootstrap/safemode-ui-hook.m @@ -43,8 +43,10 @@ static bool detect_substrate_safe_mode() { void (*old_applicationDidFinishLaunching)(id, SEL, id); static void my_applicationDidFinishLaunching(id self, SEL sel, id app) { old_applicationDidFinishLaunching(self, sel, app); - if (detect_substrate_safe_mode()) + if (detect_substrate_safe_mode()) { + NSLog(@"Deferring to Substrate's safe mode."); return; + } id controller = [SBApplicationController sharedInstanceIfExists]; if (!controller) { NSLog(@"substitute safe mode: sharedInstanceIfExists => nil!"); |