Adding ca-bundle to the resources

svn path=/trunk/netsurf/; revision=11895
This commit is contained in:
Sven Weidauer 2011-03-03 14:36:44 +00:00
parent 60b5039c33
commit 5c091d5be9
3 changed files with 4 additions and 1 deletions

View File

@ -125,7 +125,7 @@ EXETARGET := NetSurf
S_XIBS := MainMenu.xib Browser.xib BrowserWindow.xib DownloadWindow.xib SearchWindow.xib PreferencesWindow.xib \
HistoryWindow.xib BookmarksWindow.xib LocalHistoryPanel.xib
R_RESOURCES := default.css adblock.css quirks.css NetSurf.icns HomeTemplate.pdf Icons
R_RESOURCES := default.css adblock.css quirks.css NetSurf.icns HomeTemplate.pdf Icons ca-bundle
R_RESOURCES := $(addprefix cocoa/res/,$(R_RESOURCES))
LANGUAGES := de en fr it nl

View File

@ -175,6 +175,8 @@ int main( int argc, char **argv )
const char * const messages = [[[NSBundle mainBundle] pathForResource: @"Messages" ofType: @""] UTF8String];
const char * const options = cocoa_get_options_file();
option_ca_bundle = strdup( [[[NSBundle mainBundle] pathForResource: @"ca-bundle" ofType: @""] UTF8String] );
netsurf_init(&argc, &argv, options, messages);
[cocoa_prepare_app() run];

1
cocoa/res/ca-bundle Symbolic link
View File

@ -0,0 +1 @@
../../!NetSurf/Resources/ca-bundle