How to automatically renew a custom app distribution link?

Hello, I have a problem with my custom app. I created custom app and generated custom distribution link but this link expires every week are there any options to reinstall this link automatically or maybe use your api to write code that will do this?

Does anyone have experience with this problem?

Popping in 2 years later to say this appears to still be a problem. I ran into this today with an app that uses the legacy install flow.

What is everyone else doing? Publishing a new dev app each time?