Adds zenity profile picker (gaming / LLM / reset) with safe RAM guardrails, pkexec-based apply, and install.sh for Nobara/Fedora. Co-authored-by: Cursor <[email protected]>
24 lines
550 B
Bash
Executable File
24 lines
550 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Build a transferable tarball of z13-memory-profiles
|
|
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
NAME="z13Profiler"
|
|
VERSION="1.0.0"
|
|
OUT="$(cd "${ROOT}/.." && pwd)/${NAME}-${VERSION}.tar.gz"
|
|
|
|
cd "${ROOT}/.."
|
|
tar -czf "${OUT}" \
|
|
--exclude='*.tar.gz' \
|
|
--exclude='.git' \
|
|
"${NAME}/"
|
|
|
|
echo "Created: ${OUT}"
|
|
echo ""
|
|
echo "Transfer to Z13 (USB, scp, etc.), then on the tablet:"
|
|
echo " tar -xzf ${NAME}-${VERSION}.tar.gz"
|
|
echo " cd ${NAME}"
|
|
echo " ./install.sh"
|
|
echo " z13-memory-profiles"
|