From 90747b292db00663449bef09880d36522bd7e2b1 Mon Sep 17 00:00:00 2001 From: Leon Date: Mon, 9 Aug 2021 20:13:15 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=B1EUserv=5Fextend.js=20for=20V2P?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/js/EUserv_extend.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Scripts/js/EUserv_extend.js diff --git a/Scripts/js/EUserv_extend.js b/Scripts/js/EUserv_extend.js new file mode 100644 index 0000000..cce9253 --- /dev/null +++ b/Scripts/js/EUserv_extend.js @@ -0,0 +1,13 @@ +// @grant nodejs +console.log("⏳ 开始执行 EUserv_tsf.py") +$exec('python3 https://raw.githubusercontent.com/Oreomeow/VIP/main/Scripts/py/EUserv_tsf.py', { + cwd: 'script/Shell', + timeout: 0, + env: { + USERNAME: $store.get('EUserv_ID', 'string'), + PASSWORD: $store.get('EUserv_PW', 'string') + }, + cb(data, error) { + error ? console.error(error) : console.log(data) + } +}) \ No newline at end of file