From fe6133edf1aa9314eeae5c5a5f90520e7d5cbad4 Mon Sep 17 00:00:00 2001 From: Shawn <45581750+KOP-XIAO@users.noreply.github.com> Date: Mon, 4 Jul 2022 22:32:18 +0800 Subject: [PATCH] Update switch-check-ytb-url-cron.js --- Scripts/switch-check-ytb-url-cron.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/switch-check-ytb-url-cron.js b/Scripts/switch-check-ytb-url-cron.js index 539019b..1675379 100644 --- a/Scripts/switch-check-ytb-url-cron.js +++ b/Scripts/switch-check-ytb-url-cron.js @@ -21,8 +21,8 @@ ps. 简单粗暴的 UI-Interaction 版本。无数据持久化、粗暴延迟等 const BASE_URL = 'https://www.youtube.com/premium' const link = { "media-url": "https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/img/southpark/7.png" } -var cronsign = $environment.executeType == 0 || $environment.executeType == "0"? "Y" : "N" -var policy = $environment.executeType == 0 || $environment.executeType == "0" ? GetPolicy($environment.sourcePath) : $environment.params +var cronsign = $environment.executeType == 0 || $environment.executeType == "0" || $environment.executeType == "-1"? "Y" : "N" +var policy = $environment.executeType == 0 || $environment.executeType == "0" || $environment.executeType == "-1"? GetPolicy($environment.sourcePath) : $environment.params console.log(JSON.stringify($environment)) console.log("策略组:"+policy)