* docs: Add json schema for screenshot metadata
* feat(.NET): Add function to open a file and read screenshot metadata to AppApi
* refactor(.NET): Check initial file dialog directory before set
Paranoia is fun
* refactor(.NET): Stop reading entire png files into memory to check 8 bytes
* refactor(.NET): Handle endianness and keyword encoding correctly for screenshots
* docs: Add xmldocs and some comments to parts of the screenshot helper
* screenshot metadata dialog
* screenshot metadata dialog 1
* fix: file dialog open bool not resetting properly
* screenshot metadata dialog 2
* fix: Stop png parser from dying on bad files
Parser would keep reading past a file's IEND chunk, and it finally found one that had junk data past IEND. It died. This fixes that.
It also encapsulates the Read function in a try/catch so VRCX doesn't crash if it fails due to a corrupted file.
* fix: buggy carousel transition animation
---------
Co-authored-by: Teacup <git@teadev.xyz>
Before this change, the browser would fail to navigate to the local index.html page if the path leading to the file contained any special characters. This resulted in the browser loading into a file view.
This fix adds a custom URI scheme that retains the same base directory that was in use previously and sets the default file to index.html. This resolves the issue with cefsharp not loading uris with special characters.