From cb4f8730ecd0eb278929cb698dc226f356ff1d9c Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Mon, 3 Apr 2023 05:10:24 +0300 Subject: [PATCH] add a check for quotes in the description --- builder | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/builder b/builder index f2943f8..21a7889 100644 --- a/builder +++ b/builder @@ -950,6 +950,11 @@ function upload () warn "The size of $(basename "$Preview") is greater than 1mb. Steam may prevent you from loading content with this image. if you get an error while loading - try using a smaller preview." fi + if grep -Fq '"' "$MutPubContentDescription"; then + warn "Double quotes (\") found in $(basename "$MutPubContentDescription"), this may prevent the item from being uploaded to the workshop" + warn "Remove double quotes if there are problems uploading to the workshop" + fi + find "$KFPublish" -type d -empty -delete # it's a bad idea to use the $KFPublish folder for upload