From 2d7b30bb7a82eaa4c670f76b0ef7ef8b538a7354 Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Tue, 3 Jun 2025 23:22:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(bin):=20=E9=80=82=E9=85=8D=E5=9C=A8Windows?= =?UTF-8?q?=E4=B8=8B=E7=9A=84=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/library.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/library.js b/bin/library.js index 6e78385..867b77a 100644 --- a/bin/library.js +++ b/bin/library.js @@ -2,13 +2,14 @@ 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 = '/Users/lanyuanxiaoyao/.m2/settings-nas.xml' - const upload_url = 'http://132.126.207.124:36800' const upload_username = 'AxhEbscwsJDbYMH2' const upload_password = 'cYxg3b4PtWoVD5SjFayWxtnSVsjzRsg4'