Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
xjbeta committed Jul 3, 2022
2 parents 7af9c01 + d11aa03 commit 067d470
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions IINA+.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.6.14;
MARKETING_VERSION = 0.6.15;
PRODUCT_BUNDLE_IDENTIFIER = "com.xjbeta.iina-plus";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -967,7 +967,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 0.6.14;
MARKETING_VERSION = 0.6.15;
PRODUCT_BUNDLE_IDENTIFIER = "com.xjbeta.iina-plus";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
4 changes: 2 additions & 2 deletions IINA+/Utils/VideoDecoder/DouYin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ class DouYin: NSObject, SupportSiteProtocol {
$0.domain.contains("douyin")
}

return webview.evaluateJavaScript("self.__LOADABLE_LOADED_CHUNKS__.map(x => x[0][0]).includes(768)").then { length -> Promise<()> in
if let l = length as? Bool, l {
return webview.evaluateJavaScript("self.__LOADABLE_LOADED_CHUNKS__.map(x => x[0][0]).length").then { length -> Promise<()> in
if let l = length as? Int, l > 10 {
dyCookies.forEach {
self.cookies[$0.name] = $0.value
}
Expand Down

0 comments on commit 067d470

Please sign in to comment.