浏览代码

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