Skip to content

Commit

Permalink
adjust settings mod to powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
t0mdavid-m committed Nov 21, 2024
1 parent 9d67f28 commit a7ba5dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-windows-executable-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit a7ba5dd

Please sign in to comment.