OSX - operation cannot be completed because "" needs to be downloaded
I have a .app file stuck on my desktop. I was using the logi options+ app to control my mouse and decided to delete it so i dragged it into the trash. my mouse wheel suddenly inverted, and realized that the app was what was making it work correctly, so i dragged it out of the trash onto the desktop to reinstall it. double clicking it doesnt do much, and now i get the error that the operation cannot be completed because the app needs to be downloaded. i dont use icloud, this computer does does not have an apple id associated with it, and i closed onedrive. how do i get rid of this thing that is now permanently stuck on my desktop.
edit: tried to force delete it through the terminal and it says that there is no such file and it gives the onedrive location
MacBook Pro (M2 Pro, 2023)