diff --git a/打包.bat b/打包.bat index a77fd84..2217214 100644 --- a/打包.bat +++ b/打包.bat @@ -1,12 +1,14 @@ @echo off -echo ʼ֥ڸpc(sgxt_pc)... +chcp 65001 >nul +title 构建和打包工具 +echo lin___LinZhi哨岗打包 sgxt_pc... call npm run build -echo ɣѹ... +echo 打包完成,正在压缩... if exist gsxt.zip del gsxt.zip powershell Compress-Archive -Path gsxt -DestinationPath gsxt.zip -echo ѹɣ +echo 压缩完成! explorer . -msg * "֥ڸpcɣ" +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 +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