DesignCraft: An open-source page and layout design editor written by scratch in pure Rust
security: enforce HTTPS on curl downloads (SonarCloud S6506) (#1519)
Dylan M. Taylordec78db02c90
diff --git a/packaging/linux/package.sh b/packaging/linux/package.shindex 2d7b80ee8..12ad8e0f2 100755--- a/packaging/linux/package.sh+++ b/packaging/linux/package.sh@@ -148,7 +148,7 @@ if has appimage; thenTOOL="$CARGO_TARGET_DIR/appimagetool-$APPIMAGETOOL_VERSION-$ARCH.AppImage"if [ ! -x "$TOOL" ]; thendownload="$TOOL.download"- curl -fsSL -o "$download" \+ curl --proto '=https' -fsSL -o "$download" \"https://github.com/AppImage/appimagetool/releases/download/$APPIMAGETOOL_VERSION/appimagetool-$ARCH.AppImage"printf '%s %s\n' "$APPIMAGETOOL_SHA256" "$download" | sha256sum -c -chmod 755 "$download"