From ad2da1f38cb9a9dcb5c805b5a5f767c356ec3604 Mon Sep 17 00:00:00 2001 From: yangfuda <945208611@qq.com> Date: Thu, 11 May 2023 17:26:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E5=86=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 打包.bat | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/打包.bat b/打包.bat index f3aefd88..cf9cfe03 100644 --- a/打包.bat +++ b/打包.bat @@ -1,14 +1,21 @@ @echo off -E: -cd E:\project\nsgk_mobile +@echo ʼApp...... +call :extract %0 +goto :eof +:extract +rem ĿĿ¼ +@echo ĿĿ¼: %~dp1 +%~d1 +cd %~dp1 +call npm run build -:: 打包预发布环境 -npm run build +@echo ɹ +@echo Ŀļ +start "" %~dp1 -@echo SUCCESS -pause \ No newline at end of file +@pause \ No newline at end of file