feat: update profile path resolution and enhance scripts for improved project adaptability
This commit is contained in:
@@ -152,17 +152,18 @@ Keep this utility as an isolated image mailbox. If a project wants easy access,
|
||||
link the project inbox to the mailbox instead of making this utility know about
|
||||
the project.
|
||||
|
||||
Example:
|
||||
Example using the active profile inbox:
|
||||
|
||||
```bash
|
||||
mkdir -p ai/inbox
|
||||
ln -s "$HOME/Pictures/Photo Inbox" ai/inbox/photos
|
||||
PROFILE_INBOX="$(python3 scripts/aiw/profile.py path inbox --profile fidelity)"
|
||||
mkdir -p "$PROFILE_INBOX"
|
||||
ln -s "$HOME/Pictures/Photo Inbox" "$PROFILE_INBOX/photos"
|
||||
```
|
||||
|
||||
Or point the receiver at a project-owned folder from `.env`:
|
||||
|
||||
```bash
|
||||
PHOTO_INBOX_DIR=/absolute/path/to/project/ai/inbox/photos
|
||||
PHOTO_INBOX_DIR=/absolute/path/to/profile/inbox/photos
|
||||
```
|
||||
|
||||
The symlink approach keeps this utility reusable across projects and devices.
|
||||
|
||||
Reference in New Issue
Block a user