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 6, 2022
2 parents 067d470 + a408a1a commit f2610bf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 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.15;
MARKETING_VERSION = 0.6.16;
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.15;
MARKETING_VERSION = 0.6.16;
PRODUCT_BUNDLE_IDENTIFIER = "com.xjbeta.iina-plus";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/SDWebImage/SDWebImage",
"state" : {
"revision" : "2e63d0061da449ad0ed130768d05dceb1496de44",
"version" : "5.12.5"
"revision" : "c4b8660bb3ef543fe4bdcaac0db956b32dc5583f",
"version" : "5.13.0"
}
},
{
Expand All @@ -77,8 +77,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/sparkle-project/Sparkle",
"state" : {
"revision" : "286edd1fa22505a9e54d170e9fd07d775ea233f2",
"version" : "2.1.0"
"revision" : "c1bf68f91f5c37ba5b3ac5028e34ceb5d444de12",
"version" : "2.2.0"
}
},
{
Expand All @@ -104,8 +104,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/scinfu/SwiftSoup",
"state" : {
"revision" : "41e7c263fb8c277e980ebcb9b0b5f6031d3d4886",
"version" : "2.4.2"
"revision" : "6778575285177365cbad3e5b8a72f2a20583cfec",
"version" : "2.4.3"
}
}
],
Expand Down
3 changes: 2 additions & 1 deletion IINA+/Utils/Danmaku/Danmaku.swift
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ class Danmaku: NSObject {
}
case .huya:
AF.request(url.absoluteString).responseString().done {
let roomData = $0.string.subString(from: "var TT_ROOM_DATA = ", to: ";var").data(using: .utf8) ?? Data()
let js = $0.string.subString(from: "var TT_ROOM_DATA = ", to: "};")
let roomData = (js + "}").data(using: .utf8) ?? Data()
let roomInfo: JSONObject = try JSONParser.JSONObjectWithData(roomData)

self.huyaAnchorUid = try roomInfo.value(for: "id")
Expand Down

0 comments on commit f2610bf

Please sign in to comment.