Remove long deprecated stuff (#10332)
This commit is contained in:
parent
cceb28b5eb
commit
214f48eae9
15 changed files with 9 additions and 488 deletions
|
|
@ -46,7 +46,7 @@ when defined(windows):
|
|||
success = false
|
||||
it = it.ai_next
|
||||
|
||||
dealloc(aiList)
|
||||
freeAddrInfo(aiList)
|
||||
if not success:
|
||||
retFuture.fail(newException(OSError, osErrorMsg(lastError)))
|
||||
return retFuture
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ task "download", "download game assets":
|
|||
var
|
||||
skipAssets = false
|
||||
path = expandFilename("data")
|
||||
client = newHttpClient()
|
||||
path.add DirSep
|
||||
path.add(extractFilename(GameAssets))
|
||||
if existsFile(path):
|
||||
|
|
@ -101,7 +102,7 @@ task "download", "download game assets":
|
|||
echo "Downloading from ", GameAssets
|
||||
if not skipAssets:
|
||||
echo "Downloading to ", path
|
||||
downloadFile GameAssets, path
|
||||
client.downloadFile(GameAssets, path)
|
||||
echo "Download finished"
|
||||
|
||||
let targetDir = parentDir(parentDir(path))
|
||||
|
|
@ -126,7 +127,7 @@ task "download", "download game assets":
|
|||
else:
|
||||
return
|
||||
path = extractFilename(BinLibs)
|
||||
downloadFile BinLibs, path
|
||||
client.downloadFile(BinLibs, path)
|
||||
echo "Downloaded dem libs ", path
|
||||
when true: echo "Unpack it yourself, sorry."
|
||||
else: ## this crashes, dunno why
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue