Browse Source

fix(linux): appimage

Baptiste Augrain 2 năm trước cách đây
mục cha
commit
87aaa7131e
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      .gitignore
  2. 1 1
      build/linux/appimage/build.sh

+ 1 - 1
.gitignore

@@ -1,4 +1,4 @@
-vscode
+vscode*
 VS*/*
 VSCode*
 VSCodium*

+ 1 - 1
build/linux/appimage/build.sh

@@ -7,7 +7,7 @@ CALLER_DIR=$( pwd )
 cd "$( dirname "${BASH_SOURCE[0]}" )"
 
 if [[ "${VSCODE_ARCH}" == "x64" ]]; then
-  GITHUB_RESPONSE=$( curl -s "https://api.github.com/repos/AppImage/pkg2appimage/releases/latest" )
+  GITHUB_RESPONSE=$( curl --silent --location "https://api.github.com/repos/AppImage/pkg2appimage/releases/latest" )
   APPIMAGE_URL=$( echo "${GITHUB_RESPONSE}" | jq --raw-output '.assets | map(select( .name | test("x86_64.AppImage(?!.zsync)"))) | map(.browser_download_url)[0]' )
 
   if [[ -z "${APPIMAGE_URL}" ]]; then