refactor: shell optimizations

This commit is contained in:
Zac
2023-07-23 11:35:27 -05:00
committed by GitHub
parent 1c0c30e6d6
commit 79baded01d
11 changed files with 112 additions and 167 deletions

View File

@@ -15,11 +15,11 @@ if [[ "${VSCODE_ARCH}" == "x64" ]]; then
exit 1
fi
wget -c "${APPIMAGE_URL}" -o pkg2appimage.AppImage
wget -c "${APPIMAGE_URL}" -o pkg2appimage.AppImage
chmod +x ./pkg2appimage.AppImage
chmod +x ./pkg2appimage.AppImage
./pkg2appimage.AppImage --appimage-extract && mv ./squashfs-root ./pkg2appimage.AppDir
./pkg2appimage.AppImage --appimage-extract && mv ./squashfs-root ./pkg2appimage.AppDir
# add update's url
sed -i 's/generate_type2_appimage/generate_type2_appimage -u "gh-releases-zsync|VSCodium|vscodium|latest|*.AppImage.zsync"/' pkg2appimage.AppDir/AppRun