Skip to content

armgit / andee

Public Imported from GitHub
0

Andee lives on your phone or Mac and uses any app like you do—no integrations, no root, any model; memory and passwords never leave your device | Andee 住进你的手机或 Mac,像你一样操作任何 App——无需集成、无需 Root、支持任意模型,记忆和密码绝不离开设备。

Clarify DMG dependency setup

harry036124c8e6a0c8793
diff --git a/README.md b/README.md
index 85c25db..88f76c6 100644
--- a/README.md
+++ b/README.md
@@ -392,7 +392,9 @@ export ANDEE_DMG_PYTHON="$PWD/desktop/build/dmg-venv/bin/python"
The committed `desktop/dmg/background.png` is used as-is during packaging. To
regenerate it after editing the artwork or caption, install the optional Pillow
-dependency with `desktop/dmg/requirements-background.txt` and run
+dependency with
+`desktop/build/dmg-venv/bin/python -m pip install -r desktop/dmg/requirements-background.txt`
+and run
`ANDEE_REGENERATE_BACKGROUND=1 bash desktop/dmg/make-dmg.sh ...`.
`packageReleaseDmg` and `notarizeDmg` are not part of this drag-to-install
packaging path; verify their image layout separately before distributing one.
diff --git a/desktop/dmg/make-dmg.sh b/desktop/dmg/make-dmg.sh
index 5c18074..1c73bdb 100755
--- a/desktop/dmg/make-dmg.sh
+++ b/desktop/dmg/make-dmg.sh
@@ -19,7 +19,8 @@ check_tools() {
if ! command -v "$PYTHON" >/dev/null 2>&1 || \
! "$PYTHON" -c "from importlib.metadata import version; import sys; sys.exit(version('dmgbuild') != '1.6.7')" 2>/dev/null; then
echo "DMG packaging requires Python with dmgbuild==1.6.7." >&2
- echo "Install it using desktop/dmg/requirements.txt; see README.md (Mac packaging)." >&2
+ echo "Install it with: python3 -m pip install -r desktop/dmg/requirements.txt" >&2
+ echo "For an isolated environment, see README.md (Mac packaging)." >&2
echo "Set ANDEE_DMG_PYTHON to that environment's Python executable." >&2
exit 2
fi