@lazycatcloud/lzc-cli 1.2.20 → 1.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/app/lpk_build.js +1 -1
- package/lib/shellapi.js +4 -1
- package/package.json +1 -1
package/lib/app/lpk_build.js
CHANGED
|
@@ -78,7 +78,7 @@ async function fetchIconTo(options, cwd, destDir) {
|
|
|
78
78
|
// 提供一些方便的环境变量,可以在 lzc-build.yml 中直接使用
|
|
79
79
|
// - LocalIP 本地局域网ip
|
|
80
80
|
function localIp() {
|
|
81
|
-
const regex = /inet6 (fc03:1136:[0-9a-fA-F:]+)
|
|
81
|
+
const regex = /inet6 (fc03:1136:[0-9a-fA-F:]+)[?:\/ ]/;
|
|
82
82
|
|
|
83
83
|
let output = "";
|
|
84
84
|
if (isMacos) {
|
package/lib/shellapi.js
CHANGED