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