Ok so I figured it out but now it just shows files instead of a game when you open the downloaded file
Viewing post in My game wont work with itch
You could create a hyperlink document which is executed when you press the “Launch” button in the itch client or when clicked on in the file list. That should instigate the default web browser opening up the HTML5 document.
However, you can make a standalone HTML5 app using some tools on the internet. Here’s an example: https://stackoverflow.com/questions/29686011/how-do-i-convert-web-application-into-desktop-executable#38620323 (The next few answers have some others that might be more your preference.)