|
@@ -0,0 +1,11 @@
|
|
|
+dotnet publish -r win-x64 --no-self-contained --no-dependencies -c Release
|
|
|
+$path = ".\GameServer"
|
|
|
+Remove-Item $path\DebugBin\ -Recurse -ErrorAction Ignore
|
|
|
+Copy-Item .\Bin\win-x64\publish -Destination $path\DebugBin -Recurse -Force
|
|
|
+Remove-Item $path\Config -Recurse -ErrorAction Ignore
|
|
|
+Copy-Item .\Config -Destination $path\ -Recurse -Force
|
|
|
+
|
|
|
+Remove-Item $path\Config\Excel -Recurse -ErrorAction Ignore
|
|
|
+Remove-Item $path\Config\Proto -Recurse -ErrorAction Ignore
|
|
|
+Remove-Item $path\Config\ExportExcel.bat -Recurse -ErrorAction Ignore
|
|
|
+Remove-Item $path\Config\ExportProto.bat -Recurse -ErrorAction Ignore
|