From bdbde8f26714924d8230107780e98f52f0883d3e Mon Sep 17 00:00:00 2001 From: huangchengfa <171504222@qq.com> Date: Fri, 12 Dec 2025 10:20:08 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=89=93=E5=8C=85bat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 打包.bat | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 打包.bat diff --git a/打包.bat b/打包.bat new file mode 100644 index 0000000..a77fd84 --- /dev/null +++ b/打包.bat @@ -0,0 +1,12 @@ +@echo off +echo ¿ªÊ¼ÁÖÖ¥ÉÚ¸Úpc´ò°ü(sgxt_pc)... + +call npm run build +echo ´ò°üÍê³É£¬ÕýÔÚѹËõ... +if exist gsxt.zip del gsxt.zip +powershell Compress-Archive -Path gsxt -DestinationPath gsxt.zip +echo ѹËõÍê³É£¡ +explorer . +msg * "ÁÖÖ¥ÉÚ¸Úpc´ò°üÍê³É£¡" +start http://localhost:9528?project=sgxt_pc +powershell -Command "Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.MessageBox]::Show('´ò°üºÍѹËõÒÑÍê³É£¡', '³É¹¦', [System.Windows.Forms.MessageBoxButtons]::OK, [System.Windows.Forms.MessageBoxIcon]::Exclamation)" \ No newline at end of file