fix(portmaster): align launcher with upstream conventions

This commit is contained in:
Alexander Sellite 2026-08-20 23:48:00 -04:00
parent 9649cc8623
commit 876c243a8b
4 changed files with 33 additions and 39 deletions

View file

@ -223,7 +223,7 @@ music while omitting rain and shoreline ambience in both profiles. See
## Controls
NETfishing reads the handheld controller directly. PortMaster's system
NETfishing reads the handheld controller directly. GPTOKEYB's device-specific
force-quit chord remains available; this is Start+Select on most devices.
EOF
@ -249,8 +249,11 @@ if unzip -Z1 "${ARCHIVE}" | grep -qx 'port.json'; then
echo "port.json must be inside netfishing/, not at the archive root." >&2
exit 1
fi
grep -q '^# PORTMASTER: netfishing.zip, NETfishing.sh$' \
"${STAGE_ROOT}/NETfishing.sh"
if grep -Eq '^[[:space:]]*#[[:space:]]*PORTMASTER:' \
"${STAGE_ROOT}/NETfishing.sh"; then
echo "The distributable launcher contains an installed PortMaster signature." >&2
exit 1
fi
grep -Fq 'PROFILE_PATH="$CONFDIR/performance_profile"' \
"${STAGE_ROOT}/NETfishing.sh"
grep -Fq 'NETFISHING_PERFORMANCE_PROFILE=light' \