Fix missing resources

This commit is contained in:
anthony 2020-12-03 20:05:46 +00:00
parent 62fff96aeb
commit c05a705717
2 changed files with 19 additions and 3 deletions

View File

@ -55,10 +55,16 @@
}
-(void)newContent {
NSLog(@"New content");
struct nsurl *url = browser_window_access_url(browser);
const char *urlcstr = nsurl_access(url);
[urlBar setStringValue: [NSString stringWithUTF8String: urlcstr]];
}
-(void)startThrobber {
struct nsurl *url = browser_window_access_url(browser);
const char *urlcstr = nsurl_access(url);
[urlBar setStringValue: [NSString stringWithUTF8String: urlcstr]];
}
-(void)stopThrobber {

View File

@ -64,12 +64,21 @@ $(shell pwd)/content/fetchers/about.c: testament
EXETARGET := NetSurf
R_RESOURCES := \
ca-bundle \
Menu.gorm \
Browser.gorm \
R_RESOURCES := $(addprefix $(FRONTEND_RESOURCES_DIR)/,$(R_RESOURCES))
E_RESOURCES := \
adblock.css \
ca-bundle \
default.css \
internal.css \
quirks.css \
E_RESOURCES := $(addprefix resources/,$(E_RESOURCES))
LANGUAGES := en
LOCALIZED_RESOURCES := Localizable.strings
@ -85,6 +94,7 @@ NetSurf.app: NetSurf $(FRONTEND_SOURCE_DIR)/Makefile $(R_RESOURCES) NetSurf.app/
$(Q)cp $(FRONTEND_RESOURCES_DIR)/NetSurf.icns NetSurf.app
$(Q)mkdir -p NetSurf.app/Resources
$(Q)cp -pLR $(R_RESOURCES) NetSurf.app/Resources
$(Q)cp -pLR $(E_RESOURCES) NetSurf.app/
NetSurf.app/Resources/Info-gnustep.plist: $(FRONTEND_RESOURCES_DIR)/NetSurf-Info.plist $(FRONTEND_SOURCE_DIR)/Makefile
$(VQ)echo Generating Info.plist