diff --git a/.github/workflows/build-windows-executable-app-with-pyinstaller.yaml b/.github/workflows/build-windows-executable-app-with-pyinstaller.yaml index c907b515..42646e82 100644 --- a/.github/workflows/build-windows-executable-app-with-pyinstaller.yaml +++ b/.github/workflows/build-windows-executable-app-with-pyinstaller.yaml @@ -222,7 +222,9 @@ jobs: - name: Set to offline deployment run: | - jq '.online_deployment = false' settings.json > tmp.json && mv tmp.json settings.json + $content = Get-Content -Raw settings.json | ConvertFrom-Json + $content.online_deployment = $false + $content | ConvertTo-Json -Depth 100 | Set-Content settings.json - name: Copy everything to dist directory run: | diff --git a/.github/workflows/build-windows-executable-app.yaml b/.github/workflows/build-windows-executable-app.yaml index de814489..da8e75fa 100644 --- a/.github/workflows/build-windows-executable-app.yaml +++ b/.github/workflows/build-windows-executable-app.yaml @@ -211,7 +211,9 @@ jobs: - name: Set to offline deployment run: | - jq '.online_deployment = false' settings.json > tmp.json && mv tmp.json settings.json + $content = Get-Content -Raw settings.json | ConvertFrom-Json + $content.online_deployment = $false + $content | ConvertTo-Json -Depth 100 | Set-Content settings.json - name: Create All-in-one executable folder run: |