From 34bdb59501340f7ceb3d122539740a0d3a654ae5 Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Fri, 6 Jun 2025 22:32:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(bin):=20=E4=BC=98=E5=8C=96=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/library.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/library.js b/bin/library.js index 0af04e1..28cc4be 100644 --- a/bin/library.js +++ b/bin/library.js @@ -2,14 +2,13 @@ import {$, fetch, fs, glob, os, path, spinner, syncProcessCwd, usePowerShell} fr import {isEqual, trim, fileSize} from "licia"; import md5file from 'md5-file' -let maven_setting = '/Users/lanyuanxiaoyao/.m2/settings-nas.xml' - syncProcessCwd(true) if (isEqual(os.platform(), 'win32')) { usePowerShell() - maven_setting = 'C:\\Users\\lanyuanxiaoyao\\.m2\\settings-nas.xml' } +const maven_setting = path.join(os.homedir(), '.m2', 'settings-nas.xml') + const upload_url = 'http://132.126.207.124:36800' const upload_username = 'AxhEbscwsJDbYMH2' const upload_password = 'cYxg3b4PtWoVD5SjFayWxtnSVsjzRsg4'