bugfix linux metadata paths; set OS_NAME in windows builds

This commit is contained in:
Peter Squicciarini 2021-01-12 13:56:52 -08:00
parent 70139913d6
commit 78aa52ea05
2 changed files with 3 additions and 2 deletions

View file

@ -12,6 +12,7 @@ jobs:
runs-on: windows-2016 runs-on: windows-2016
env: env:
VSCODE_ARCH: ${{ matrix.vscode_arch }} VSCODE_ARCH: ${{ matrix.vscode_arch }}
OS_NAME: 'windows'
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:

View file

@ -67,8 +67,8 @@ if [[ "$OS_NAME" == "linux" ]]; then
# fix the packages metadata # fix the packages metadata
# code.appdata.xml # code.appdata.xml
sed -i 's|Visual Studio Code|VSCodium|g' src/resources/linux/code.appdata.xml sed -i 's|Visual Studio Code|VSCodium|g' resources/linux/code.appdata.xml
sed -i 's|https://code.visualstudio.com/docs/setup/linux|https://github.com/VSCodium/vscodium#download-install|' src/resources/linux/code.appdata.xml sed -i 's|https://code.visualstudio.com/docs/setup/linux|https://github.com/VSCodium/vscodium#download-install|' resources/linux/code.appdata.xml
sed -i 's|https://code.visualstudio.com/home/home-screenshot-linux-lg.png|https://vscodium.com/img/vscodium.png|' resources/linux/code.appdata.xml sed -i 's|https://code.visualstudio.com/home/home-screenshot-linux-lg.png|https://vscodium.com/img/vscodium.png|' resources/linux/code.appdata.xml
sed -i 's|https://code.visualstudio.com|https://vscodium.com|' resources/linux/code.appdata.xml sed -i 's|https://code.visualstudio.com|https://vscodium.com|' resources/linux/code.appdata.xml