ios9: re-enable web server/webdav server (#17275)

This commit is contained in:
Eric Warmenhoven 2024-12-21 14:39:44 -05:00 committed by GitHub
parent 5ddb9b990c
commit a7db10508c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -22,6 +22,7 @@
/* Begin PBXBuildFile section */
07019B932CD24FF200D6C3FD /* GCDWebDAVServer.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C5C63E2CD167470030FBEC /* GCDWebDAVServer.m */; };
070672FB2D1723A10099FC74 /* GCDWebUploader.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 92CC059F21FE3C1700FF79F0 /* GCDWebUploader.bundle */; };
070A88432A4E7AA9003161C0 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 070A88422A4E7AA9003161C0 /* OpenAL.framework */; };
071212C82C6FD65B00F1B4B0 /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 071212C72C6FD65B00F1B4B0 /* Settings.bundle */; };
0712A7722B807AE400C9765F /* TVServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0712A7712B807AE400C9765F /* TVServices.framework */; };
@ -1434,6 +1435,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
070672FB2D1723A10099FC74 /* GCDWebUploader.bundle in Resources */,
07F7FB022A2DA8B800037C04 /* filters in Resources */,
0753AD192C86144200874A42 /* BaseConfig.xcconfig in Resources */,
9222F2092315DAD50097C0FD /* Launch Screen.storyboard in Resources */,

View File

@ -712,10 +712,8 @@ void cocoa_file_load_with_detect_core(const char *filename);
-(void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
#if TARGET_OS_TV
[[WebServer sharedInstance] startServers];
[WebServer sharedInstance].webUploader.delegate = self;
#endif
}
#if TARGET_OS_IOS && HAVE_IOS_TOUCHMOUSE