Now you can run automatically your custom script after each cwp update.
The script format is bash.
Script name: /root/.cwp_autoupdate.sh
Script run command: sh /root/.cwp_autoupdate.sh
CWP will automatically detect if the file exists and run it.
This can be also used to replace logo or make your own custom branding changes to cwp user panel theme on each cwp update.
Example script to replace cwp logo:
#!/bin/bash rm -f /usr/local/cwpsrv/var/services/users/cwp_theme/original/img/new_logo_small.png cp /root/my/new_logo_small.png /usr/local/cwpsrv/var/services/users/cwp_theme/original/img/