fix(bin): 适配在Windows下的打包
This commit is contained in:
@@ -2,13 +2,14 @@ import {$, fetch, fs, glob, os, path, spinner, syncProcessCwd, usePowerShell} fr
|
|||||||
import {isEqual, trim, fileSize} from "licia";
|
import {isEqual, trim, fileSize} from "licia";
|
||||||
import md5file from 'md5-file'
|
import md5file from 'md5-file'
|
||||||
|
|
||||||
|
let maven_setting = '/Users/lanyuanxiaoyao/.m2/settings-nas.xml'
|
||||||
|
|
||||||
syncProcessCwd(true)
|
syncProcessCwd(true)
|
||||||
if (isEqual(os.platform(), 'win32')) {
|
if (isEqual(os.platform(), 'win32')) {
|
||||||
usePowerShell()
|
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_url = 'http://132.126.207.124:36800'
|
||||||
const upload_username = 'AxhEbscwsJDbYMH2'
|
const upload_username = 'AxhEbscwsJDbYMH2'
|
||||||
const upload_password = 'cYxg3b4PtWoVD5SjFayWxtnSVsjzRsg4'
|
const upload_password = 'cYxg3b4PtWoVD5SjFayWxtnSVsjzRsg4'
|
||||||
|
|||||||
Reference in New Issue
Block a user