Custom discount for the application

I want to offer a special discount to customers who download and use my appmysite application for my Woocommerce site. How can I do this?