@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)"