소스 검색

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

johnclot69 9 달 전
부모
커밋
a32208a0b5
4개의 변경된 파일10개의 추가작업 그리고 10개의 파일을 삭제
  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