diff options
author | ubq323 <ubq323@ubq323.website> | 2022-08-05 13:52:10 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-08-05 13:52:10 +0100 |
commit | 26abc601db61a18a02adb387f9f0958dca2f2c4f (patch) | |
tree | 5f4aa183427cea4fe3ddc2fdb45c892d2664e8e7 | |
parent | 3245a8c4bdbde3f42828e2a60ccd840f700c88fe (diff) |
pm
-rw-r--r-- | pm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -95,7 +95,7 @@ local function dlfile(filename) print("creating directory "..dir) fs.makeDir(dir) end - local file,err=fs.open(dest,"w") + local file,err=fs.open(dest,"wb") if err then error("fs.open "..err) end local res,err = http.get{url=src,binary=true} if err then error("http.get "..err) end |