From f7034f535b85264e0c5b18e82fc295dab2052304 Mon Sep 17 00:00:00 2001
From: Jacob <hlnie@tohours.com>
Date: 星期五, 23 十月 2026 20:19:01 +0800
Subject: [PATCH] fix: 临时关闭悦养豆第三方小程序跳转入口
---
scripts/publish.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/publish.js b/scripts/publish.js
index bc9bf3e..ddb06f8 100644
--- a/scripts/publish.js
+++ b/scripts/publish.js
@@ -262,8 +262,8 @@
: '鐢� manifest.json.demo 鐢熸垚锛坅ppid ' + env.APPID + '锛岀敓鎴愮墿涓嶅叆搴擄級'));
const cliArgs = ['publish', '--platform', 'mp-weixin', '--project', ROOT].concat(passthrough);
- // 璺緞鍚┖鏍�/涓枃锛屼氦缁� cmd 瑙f瀽鏇寸ǔ
- const openCmd = '"' + wx.file + '" open --project "' + DIST_DIR + '"';
+ // 璺緞鍚┖鏍�/涓枃锛屼氦缁� cmd 瑙f瀽鏇寸ǔ锛�--no-open 鏃舵病鏈夊井淇″紑鍙戣�呭伐鍏凤紝涓嶆嫾杩欐潯鍛戒护锛�
+ const openCmd = wx ? '"' + wx.file + '" open --project "' + DIST_DIR + '"' : '';
if (dryRun) {
console.log('[release] 0) 鐢熸垚: manifest.json 鈫� manifest.json.demo' + (noGen ? '锛堝凡鎸囧畾 --no-gen锛岃烦杩囷級' : ''));
--
Gitblit v1.4.0