26 lines
853 B
Markdown
26 lines
853 B
Markdown
## Package Installation Flow
|
|
|
|
1. **Fetch URL**
|
|
└─> Download content
|
|
└─> Build Package Instance (Metadata & Payload)
|
|
└─> Check local file status
|
|
|
|
2. **Local File Check**
|
|
├─> If file doesn't exist:
|
|
│ └─> Save file
|
|
│
|
|
└─> If file exists:
|
|
└─> Compare versions
|
|
├─> If older/same:
|
|
│ └─> "Package already installed"
|
|
│
|
|
└─> If newer:
|
|
└─> Check local modifications
|
|
├─> If modified:
|
|
│ └─> "Local modifications detected"
|
|
│ └─> "Use 'update <file_path>'"
|
|
│
|
|
└─> If unmodified:
|
|
└─> "Update available"
|
|
└─> "Use 'update <file_path> -f' to force update"
|