From 6b1fa049331da0679c3c1a50b9ccaa89afc63b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=84=86=E8=96=AF=E9=A5=BC?= Date: Fri, 27 Dec 2024 15:31:37 +0800 Subject: [PATCH] fix: Tabs Update response.dev.js --- src/response.dev.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/response.dev.js b/src/response.dev.js index de81aad..383ec08 100644 --- a/src/response.dev.js +++ b/src/response.dev.js @@ -103,15 +103,15 @@ Console.info(`FORMAT: ${FORMAT}`); newTabs.push(tab); break; case "Store": - if (Version >= 54) { - if (Version >= 74) { - tab.destinationType = "Target"; - tab.target = { id: "tahoma_store", type: "Root", url: "https://tv.apple.com/store" }; - tab.universalLinks = ["https://tv.apple.com/store", "https://tv.apple.com/movies", "https://tv.apple.com/tv-shows"]; - delete tab?.subTabs; - } - newTabs.push(tab); + /* + if (Version >= 74) { + tab.destinationType = "Target"; + tab.target = { id: "tahoma_store", type: "Root", url: "https://tv.apple.com/store" }; + tab.universalLinks = ["https://tv.apple.com/store", "https://tv.apple.com/movies", "https://tv.apple.com/tv-shows"]; + delete tab?.subTabs; } + */ + if (Version >= 54) newTabs.push(tab); break; case "Movies": case "TV": @@ -177,7 +177,7 @@ Console.info(`FORMAT: ${FORMAT}`); } } }); - Console.debug(`newTabs: ${JSON.stringify(newTabs)}`); + Console.debug(`newTabs: ${JSON.stringify(newTabs, null, 2)}`); body.data.applicationProps.tabs = newTabs; /* body.data.applicationProps.tabs = Configs.Tabs.map((tab, index) => {