Browse Source

bat调整为powershell脚本,mac环境无法执行bat

johnclot69 9 tháng trước cách đây
mục cha
commit
a32208a0b5
4 tập tin đã thay đổi với 10 bổ sung10 xóa
  1. 0 5
      Config/ExportExcel.bat
  2. 5 0
      Config/ExportExcel.ps1
  3. 0 5
      Config/ExportProto.bat
  4. 5 0
      Config/ExportProto.ps1

+ 0 - 5
Config/ExportExcel.bat

@@ -1,5 +0,0 @@
-@echo off
-
-cd ../Bin
-Tool.exe --AppType=ExcelExporter --Console=1
-@pause

+ 5 - 0
Config/ExportExcel.ps1

@@ -0,0 +1,5 @@
+Set-Location -Path ../Bin
+
+./Tool.exe --AppType=ExcelExporter --Console=1
+
+Pause

+ 0 - 5
Config/ExportProto.bat

@@ -1,5 +0,0 @@
-@echo off
-
-cd ../Bin
-Tool.exe --AppType=Proto2CS --Console=1
-@pause

+ 5 - 0
Config/ExportProto.ps1

@@ -0,0 +1,5 @@
+Set-Location -Path ../Bin
+
+./Tool.exe --AppType=Proto2CS --Console=1
+
+Pause