mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 20:46:50 +03:00
Adding ca-bundle to the resources
svn path=/trunk/netsurf/; revision=11895
This commit is contained in:
parent
60b5039c33
commit
5c091d5be9
@ -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
|
||||
|
@ -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
1
cocoa/res/ca-bundle
Symbolic link
@ -0,0 +1 @@
|
||||
../../!NetSurf/Resources/ca-bundle
|
Loading…
Reference in New Issue
Block a user