If the LoL client is not detected in the OP.GG desktop app, first try running the app with administrator privileges.
If the issue persists after running as administrator, navigate to a different page within the app and then return to [My Profile], or completely close the app from the task manager and restart it.