Commit 6d4276b4 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: show an end-user visible warning in case that VLC was compiled without the update checker

parent c6a78e1b
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
#import "simple_prefs.h" #import "simple_prefs.h"
#import <vlc_input.h> #import <vlc_input.h>
#import <vlc_interface.h>
/***************************************************************************** /*****************************************************************************
* Local prototypes. * Local prototypes.
...@@ -2024,7 +2025,8 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -2024,7 +2025,8 @@ static VLCMain *_o_sharedMainInstance = nil;
nib_update_loaded = [NSBundle loadNibNamed:@"Update" owner:self]; nib_update_loaded = [NSBundle loadNibNamed:@"Update" owner:self];
[o_update showUpdateWindow]; [o_update showUpdateWindow];
#else #else
msg_Err( VLCIntf, "Updates checking was not enabled in this build" ); msg_Err( VLCIntf, "Update checker wasn't enabled in this build" );
intf_UserFatal( VLCIntf, VLC_FALSE, _("Update check failed"), _("Checking for updates was not enabled in this build.") );
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment