From 4413b9aa0bee2206d0bed5de7457f47bc5b4760b Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Wed, 24 Jun 2020 08:09:29 +0300 Subject: [PATCH] fix: wsinfo relative path WorkshopUserTool.exe requires a relative path (not absolute) --- make.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/make.sh b/make.sh index c6480b8..3b633d4 100644 --- a/make.sh +++ b/make.sh @@ -98,7 +98,7 @@ function upload () PackageDir=$(mktemp -d -u -p "$KFDoc") prepare_package_dir "$PackageDir" generate_wsinfo "$PackageDir" - CMD //C $(unixpath2win "$KFWorkshop") "$MutWsInfo" + CMD //C $(unixpath2win "$KFWorkshop") "$MutWsInfoName" rm -rf "$PackageDir" rm -f "$MutWsInfo" } @@ -141,7 +141,8 @@ MutPublish="$KFDoc/KFGame/Published" MutBinUnpublish="$MutUnpublish/BrewedPC/Script" MutBinPublish="$MutPublish/BrewedPC/Script" MutTestingIni="$MutSource/testing.ini" -MutWsInfo="$KFDoc/wsinfo_serverext.txt" +MutWsInfoName="wsinfo_serverext.txt" +MutWsInfo="$KFDoc/$MutWsInfoName" MutPubContent="$MutSource/PublicationContent" if [[ $# -eq 0 ]]; then show_help; exit 0; fi