Fix writing VRCX metadata on Linux

This commit is contained in:
Natsumi
2025-08-13 17:05:28 +12:00
parent 074f39ed5e
commit 8e19175b15
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ namespace VRCX
path = newPath;
}
ScreenshotHelper.WriteVRCXMetadata(path, metadataString);
ScreenshotHelper.WriteVRCXMetadata(metadataString, path);
return path;
}
}

View File

@@ -473,7 +473,7 @@
* Error checking and and verification of data is done in .NET already; In the case that the data/file is invalid, a JSON object with the token "error" will be returned containing a description of the problem.
* Example: {"error":"Invalid file selected. Please select a valid VRChat screenshot."}
* See docs/screenshotMetadata.json for schema
* @param {string} metadata - JSON string grabbed from PNG file
* @param {string} json - JSON string grabbed from PNG file
* @param {boolean} needsCarouselFiles - Whether or not to get the last/next files for the carousel
* @returns {Promise<void>}
*/