A nice little tool to help install and menter themes when they are provided in a nice .paytheme file
.paytheme files..paytheme archive .paytheme archive directly into your Paymenter themes directory .paytheme archives with automatic reference updates .paytheme files for easy inspection .paytheme file diff
curl -fsSL https://raw.githubusercontent.com/QKing-Official/PTB/refs/heads/main/installer | bash
ptb export -t <theme_path/theme_name> # Export theme directory to .paytheme file
ptb import -t <theme_file> # Import .paytheme file into themes directory
ptb update -t <old_theme_name> <theme_file> # Update a theme with new .paytheme archive
ptb rename -t <theme_file> -n <new_name> # Rename theme inside .paytheme archive
ptb list -t <theme_file> # List contents of .paytheme archive
ptb extract -t <theme_file> <output_dir> # Extract .paytheme to a directory
ptb validate -t <theme_file> # Validate structure of a .paytheme file
ptb diff -t <theme1> <theme2> # Compare two themes or directories
ptb info -t <theme_name> # Display info about an installed theme
ptb --help # Show help menu
ptb --version # Show version info
/var/www/paymenter/themes. /usr/local/bin/ptb.