Note: This project was coded by AI. This is not extremely secure, this isn't the best way to do this.
Automated script to download and install the latest Zygor Guides addon for World of Warcraft on Linux.
- Automatic login and download from Zygor servers
- Comprehensive version checking using both
.tocandVer.luafiles - Semantic version comparison to skip unnecessary updates
- Smart extraction handling for nested zip structures
- Debug mode for troubleshooting version detection
- Python 3.6+
- Zygor Guides subscription
set -Ux ZYGOR_USERNAME "your_username"
set -Ux ZYGOR_PASSWORD "your_password"
set -Ux ZYGOR_ADDON_DIR "/path/to/WoW/_retail_/Interface/AddOns"Add the following to your ~/.bashrc or ~/.zshrc:
export ZYGOR_USERNAME="your_username"
export ZYGOR_PASSWORD="your_password"
export ZYGOR_ADDON_DIR="/path/to/WoW/_retail_/Interface/AddOns"Then reload your shell configuration:
# For bash
source ~/.bashrc
# For zsh
source ~/.zshrcchmod +x update_zygor.pyBasic usage:
./update_zygor.pyForce update even if versions match:
./update_zygor.py --forceShow detailed version detection information:
./update_zygor.py --debug- Version Detection: Reads full version from both
.toc(base version like "9.6") andVer.lua(revision like "35105") to construct complete version string (e.g., "9.6.35105") - Authentication: Logs into Zygor and obtains webauth token
- Download: Downloads latest addon package using authenticated session
- Comparison: Compares installed version with remote version using semantic versioning
- Installation: Extracts and installs addon only if versions differ
- Credentials are stored in environment variables (not in script)
- Fish shell stores environment variables in
~/.config/fish/fish_variableswith 600 permissions - Bash/Zsh store environment variables in
~/.bashrcor~/.zshrc - Never commit credentials to version control