Skip to content

Commit

Permalink
Debug snapcraft pack
Browse files Browse the repository at this point in the history
  • Loading branch information
InvisibleRain committed Oct 21, 2024
1 parent 50fd719 commit a6a044f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ for ARCH in ${architectures[@]}; do
# Workaround around v2rayA and snapcraft using different names for the amd64/x64 architecture
if [[ "$ARCH" == "x64" ]]; then export SNAPCRAFT_BUILD_FOR="amd64"; else export SNAPCRAFT_BUILD_FOR="$ARCH"; fi
cat snap/snapcraft.yaml
sudo -E snap run snapcraft pack --build-for $SNAPCRAFT_BUILD_FOR --output v2raya_${VERSION}_${ARCH}.snap \
sudo -E snap run snapcraft pack --build-for $SNAPCRAFT_BUILD_FOR --output v2raya_${VERSION}_${ARCH}.snap --debug \
|| cat ~/.local/state/snapcraft/log/snapcraft-*.log
done

0 comments on commit a6a044f

Please sign in to comment.