forked from CringeStudios/element-desktop
use var mapper
This commit is contained in:
parent
782ba453cf
commit
3c4791f7ce
10
.github/workflows/build_windows.yaml
vendored
10
.github/workflows/build_windows.yaml
vendored
@ -60,7 +60,11 @@ jobs:
|
|||||||
"ia32": {
|
"ia32": {
|
||||||
"target": "i686-pc-windows-msvc",
|
"target": "i686-pc-windows-msvc",
|
||||||
"build-args": "--ia32",
|
"build-args": "--ia32",
|
||||||
"arch": "x86"
|
"arch": "x86",
|
||||||
|
"extra_config": {
|
||||||
|
"title": "Element will no longer be available for this platform soon",
|
||||||
|
"description": "Support for 32-bit Windows installations will be removed in the next release."
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -110,14 +114,14 @@ jobs:
|
|||||||
run: "yarn install --frozen-lockfile"
|
run: "yarn install --frozen-lockfile"
|
||||||
|
|
||||||
- name: Insert config snippet
|
- name: Insert config snippet
|
||||||
if: inputs.extra_config != ''
|
if: steps.config.outputs.extra_config != ''
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
mkdir config-edit
|
mkdir config-edit
|
||||||
yarn asar extract webapp.asar config-edit
|
yarn asar extract webapp.asar config-edit
|
||||||
cd config-edit
|
cd config-edit
|
||||||
mv config.json old-config.json
|
mv config.json old-config.json
|
||||||
echo ${{ inputs.extra_config }} | jq -s '.[0] * .[1]' old-config.json - > config.json
|
echo ${{ steps.config.outputs.extra_config }} | jq -s '.[0] * .[1]' old-config.json - > config.json
|
||||||
rm old-config.json
|
rm old-config.json
|
||||||
cd ..
|
cd ..
|
||||||
rm webapp.asar
|
rm webapp.asar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user