u2cli: support long paths on win7

This commit is contained in:
ed
2023-03-08 22:27:13 +00:00
parent 7454167f78
commit b39ff92f34
2 changed files with 32 additions and 4 deletions

View File

@@ -59,6 +59,8 @@ read a b c d _ < <(
sed -r 's/[^0-9]+//;s/[" )]//g;s/[-,]/ /g;s/$/ 0/'
)
sed -r 's/1,2,3,0/'$a,$b,$c,$d'/;s/1\.2\.3/'$a.$b.$c/ <loader.rc >loader.rc2
[ $m ] &&
sed -ri 's/copyparty.exe/copyparty32.exe/' loader.rc2
excl=(
copyparty.broker_mp