From 67ce9d5375e3e070d8632a73cfff413f78f3bb74 Mon Sep 17 00:00:00 2001 From: yeyang <746659424@qq.com> Date: Fri, 6 Jan 2023 23:55:13 +0800 Subject: [PATCH] update .gitignore --- .gitignore | 1 + index.js | 1 + 2 files changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ae84271 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +./node_modules \ No newline at end of file diff --git a/index.js b/index.js index 7855a78..f4bc94b 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,7 @@ import fs from 'node:fs' import Ver from './components/Version.js' import chalk from 'chalk' +import si from 'systeminformation' const files = fs.readdirSync('./plugins/yenai-plugin/apps').filter(file => file.endsWith('.js'))