@@ -78,10 +78,11 @@ Options:
7878 -O, --overwrite Overwrite existing target file
7979 -r, --remove-old Remove old AppImage after successful update
8080 -u, --update-info <INFO> Override update information in the AppImage
81+ --output-dir <DIR> Output directory for updated AppImages
8182 -d, --describe Parse and describe AppImage and its update information
8283 -j, --check-for-update Check for update (exit 1 if available, 0 if not)
8384 --github-api-proxy <URL> GitHub API proxy URL [env: GITHUB_API_PROXY]
84- (supports comma-separated list for fallback)
85+ (supports comma-separated list for fallback)
8586 -h, --help Print help
8687 -V, --version Print version
8788```
@@ -94,6 +95,33 @@ Options:
94954 . ** Downloads Only Changes** - Fetches only the blocks that differ from the local copy
95965 . ** Assembles & Verifies** - Reconstructs the file and verifies SHA1 checksum
9697
98+ ## Configuration
99+
100+ Create a config file at ` ~/.config/appimageupdate/config.toml ` :
101+
102+ ``` toml
103+ # GitHub API proxy (supports single or multiple for fallback)
104+ github_api_proxy = " https://ghproxy.net"
105+ # Or multiple proxies:
106+ # github_api_proxy = ["https://ghproxy.net", "https://mirror.example.com"]
107+
108+ # Remove old AppImage after successful update
109+ remove_old = true
110+
111+ # Output directory for updated AppImages (supports shell expansion)
112+ output_dir = " ~/Applications"
113+ ```
114+
115+ ### Environment Variables
116+
117+ | Variable | Description |
118+ | ----------| -------------|
119+ | ` GITHUB_API_PROXY ` | GitHub API proxy URL (comma-separated for multiple) |
120+ | ` APPIMAGEUPDATE_REMOVE_OLD ` | Set to ` true ` to remove old AppImage after update |
121+ | ` APPIMAGEUPDATE_OUTPUT_DIR ` | Output directory for updated AppImages |
122+
123+ ** Priority:** CLI args > Environment variables > Config file
124+
97125## Supported Update Formats
98126
99127- ` zsync|<url> ` - Direct zsync URL
0 commit comments