1.0.2发布

This commit is contained in:
Searchstars
2024-03-02 12:40:10 +08:00
parent 72143f2951
commit 6cf4662a37
3 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -74,6 +74,9 @@ export async function InitBiliBUVID3() {
key: "BUVID3",
success: async (data) => {
if (data != "") {
buvid3 = data;
resolve();
} else {
try {
var req_homepage_ret = await SendBiliGETReturnAll("https://bilibili.com");
var headers = ParseSetCookie(req_homepage_ret.headers["Set-Cookie"]);
@@ -95,10 +98,6 @@ export async function InitBiliBUVID3() {
} catch (error) {
reject(error); // 如果在尝试过程中抛出错误,拒绝Promise
}
} else {
// 如果data是空的,也解决Promise,但这种情况可能需要特别处理
buvid3 = data;
resolve();
}
},
fail: () => reject(), // 如果get失败,拒绝Promise
+1 -1
View File
@@ -1,7 +1,7 @@
{
"package": "com.searchstars.hyperbilibili",
"name": "HyperBilibili",
"versionName": "1.0.1",
"versionName": "1.0.2",
"versionCode": 1,
"minPlatformVersion": 1000,
"minAPILevel": 2,