diff --git a/.github/workflows/quickstart-windows-dev-gocqhttp.yml b/.github/workflows/quickstart-windows-dev-gocqhttp.yml index ca110155..13260d50 100644 --- a/.github/workflows/quickstart-windows-dev-gocqhttp.yml +++ b/.github/workflows/quickstart-windows-dev-gocqhttp.yml @@ -1,4 +1,4 @@ -name: Windows Quickstart Dev (Mirai) +name: Windows Quickstart Dev (go-cqhttp) on: workflow_dispatch: @@ -68,7 +68,7 @@ jobs: cd C:/generated_files/chatgpt ..\python3.11\python.exe C:/generated_files/python3.11/get-pip.py ..\python3.11\python.exe -m pip install -r requirements.txt - ..\python3.11\python.exe -c "from pycloudflared import try_cloudflare; try_cloudflare(-1)" + ..\python3.11\python.exe -c exec("""from pycloudflared import try_cloudflare \ntry: try_cloudflare(-1)\nexcept:... """) - name: Archive production artifacts uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/quickstart-windows-dev-mirai.yaml b/.github/workflows/quickstart-windows-dev-mirai.yaml index 20a423ae..8627c025 100644 --- a/.github/workflows/quickstart-windows-dev-mirai.yaml +++ b/.github/workflows/quickstart-windows-dev-mirai.yaml @@ -86,7 +86,7 @@ jobs: cd C:/generated_files/chatgpt ..\python3.11\python.exe C:/generated_files/python3.11/get-pip.py ..\python3.11\python.exe -m pip install -r requirements.txt - ..\python3.11\python.exe -c "from pycloudflared import try_cloudflare; try_cloudflare(-1)" + ..\python3.11\python.exe -c exec("""from pycloudflared import try_cloudflare \ntry: try_cloudflare(-1)\nexcept:... """) - name: Archive production artifacts uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/quickstart-windows-gocqhttp.yml b/.github/workflows/quickstart-windows-gocqhttp.yml index 5e892c4b..b8f2fdf8 100644 --- a/.github/workflows/quickstart-windows-gocqhttp.yml +++ b/.github/workflows/quickstart-windows-gocqhttp.yml @@ -63,6 +63,7 @@ jobs: cd C:/generated_files/chatgpt ..\python3.11\python.exe C:/generated_files/python3.11/get-pip.py ..\python3.11\python.exe -m pip install -r requirements.txt + ..\python3.11\python.exe -c exec("""from pycloudflared import try_cloudflare \ntry: try_cloudflare(-1)\nexcept:... """) echo "Packing..." cd C:/generated_files diff --git a/.github/workflows/quickstart-windows-mirai.yml b/.github/workflows/quickstart-windows-mirai.yml index 0e9e5e62..5f5d592c 100644 --- a/.github/workflows/quickstart-windows-mirai.yml +++ b/.github/workflows/quickstart-windows-mirai.yml @@ -81,7 +81,7 @@ jobs: cd C:/generated_files/chatgpt ..\python3.11\python.exe C:/generated_files/python3.11/get-pip.py ..\python3.11\python.exe -m pip install -r requirements.txt - ..\python3.11\python.exe -c "from pycloudflared import try_cloudflare; try_cloudflare(-1)" + ..\python3.11\python.exe -c exec("""from pycloudflared import try_cloudflare \ntry: try_cloudflare(-1)\nexcept:... """) echo "Packing..." cd C:/generated_files