diff --git a/.github/workflows/Run Distributable.yml b/.github/workflows/Run Distributable.yml index d3c0f2d..349bde9 100644 --- a/.github/workflows/Run Distributable.yml +++ b/.github/workflows/Run Distributable.yml @@ -66,7 +66,6 @@ jobs: - name: Executing runDistributable with timeout for Windows if: startsWith(matrix.os, 'windows') run: | - start /B timeout /T 300 start /B ./gradlew runDistributable timeout /T 300 taskkill /IM "MuJing.exe" /F @@ -74,6 +73,6 @@ jobs: - name: Executing runDistributable with timeout for macOS if: startsWith(matrix.os, 'macos') run: | - gtimeout 300 ./gradlew runDistributable & + ./gradlew runDistributable & sleep 300 pkill -f "幕境" \ No newline at end of file