mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 14:46:04 +02:00
Fix writing VRCX metadata on Linux
This commit is contained in:
@@ -37,7 +37,7 @@ namespace VRCX
|
|||||||
path = newPath;
|
path = newPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
ScreenshotHelper.WriteVRCXMetadata(path, metadataString);
|
ScreenshotHelper.WriteVRCXMetadata(metadataString, path);
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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.
|
* 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."}
|
* Example: {"error":"Invalid file selected. Please select a valid VRChat screenshot."}
|
||||||
* See docs/screenshotMetadata.json for schema
|
* 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
|
* @param {boolean} needsCarouselFiles - Whether or not to get the last/next files for the carousel
|
||||||
* @returns {Promise<void>}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user