Nota — a free DAW for macOS, Windows and Linux. No subscription, no account — just open it and make music.
C# audioaudio-unitavaloniacpp20cross-platformdawdigital-audio-workstationdspjucelinux-audiomcp-servermidimusicmusic-productionpiano-rollplugin-hostsequencersynthesizervstvst3
(fix) Linux AppImage packaging: world-readable AppDir, mksquashfs 4.3 fallback
Egor Khindikaynenefecabb0fbf0
diff --git a/scripts/package-linux.sh b/scripts/package-linux.shindex b6a69674..081fc01e 100755--- a/scripts/package-linux.sh+++ b/scripts/package-linux.sh@@ -125,6 +125,10 @@ HERE="$(dirname "$(readlink -f "$0")")"exec "${HERE}/usr/bin/Nota.App" "$@"RUNchmod +x "${APPDIR}/AppRun"+# The AppImage is run by other users: everything must be world-readable, and whatever+# is executable for the owner must be for everyone (the publish output lands 0744 in+# the release container; appimagetool refuses to package that).+chmod -R a+rX "${APPDIR}"echo "==> Building AppImage…"mkdir -p dist@@ -167,7 +171,8 @@ build_manually() {mksquashfs -help 2>&1 | grep -q zstd && comp="zstd" || truelocal sq="dist/nota-${AI_ARCH}.squashfs"rm -f "${sq}"- mksquashfs "${APPDIR}" "${sq}" -root-owned -noappend -quiet -comp "${comp}"+ # No -quiet: EL8's squashfs-tools 4.3 predates it.+ mksquashfs "${APPDIR}" "${sq}" -root-owned -noappend -comp "${comp}" >/dev/nullcat "${runtime}" "${sq}" > "${OUT}" # type2 runtime finds the appended filesystem itselfchmod +x "${OUT}"rm -f "${sq}"