fix: wsinfo relative path
WorkshopUserTool.exe requires a relative path (not absolute)
This commit is contained in:
parent
1d9cd9cab2
commit
4413b9aa0b
5
make.sh
5
make.sh
@ -98,7 +98,7 @@ function upload ()
|
|||||||
PackageDir=$(mktemp -d -u -p "$KFDoc")
|
PackageDir=$(mktemp -d -u -p "$KFDoc")
|
||||||
prepare_package_dir "$PackageDir"
|
prepare_package_dir "$PackageDir"
|
||||||
generate_wsinfo "$PackageDir"
|
generate_wsinfo "$PackageDir"
|
||||||
CMD //C $(unixpath2win "$KFWorkshop") "$MutWsInfo"
|
CMD //C $(unixpath2win "$KFWorkshop") "$MutWsInfoName"
|
||||||
rm -rf "$PackageDir"
|
rm -rf "$PackageDir"
|
||||||
rm -f "$MutWsInfo"
|
rm -f "$MutWsInfo"
|
||||||
}
|
}
|
||||||
@ -141,7 +141,8 @@ MutPublish="$KFDoc/KFGame/Published"
|
|||||||
MutBinUnpublish="$MutUnpublish/BrewedPC/Script"
|
MutBinUnpublish="$MutUnpublish/BrewedPC/Script"
|
||||||
MutBinPublish="$MutPublish/BrewedPC/Script"
|
MutBinPublish="$MutPublish/BrewedPC/Script"
|
||||||
MutTestingIni="$MutSource/testing.ini"
|
MutTestingIni="$MutSource/testing.ini"
|
||||||
MutWsInfo="$KFDoc/wsinfo_serverext.txt"
|
MutWsInfoName="wsinfo_serverext.txt"
|
||||||
|
MutWsInfo="$KFDoc/$MutWsInfoName"
|
||||||
MutPubContent="$MutSource/PublicationContent"
|
MutPubContent="$MutSource/PublicationContent"
|
||||||
|
|
||||||
if [[ $# -eq 0 ]]; then show_help; exit 0; fi
|
if [[ $# -eq 0 ]]; then show_help; exit 0; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user