🚑 Fix download file name
This commit is contained in:
parent
34a4372183
commit
6ac41fcc48
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export default function saveResponse(
|
|||
//Remember file size
|
||||
const headerLength = Number(response.headers['content-length']);
|
||||
|
||||
const tempFileName = `'/tmp/swtor-patcher-download-${Math.random()}.tmp`;
|
||||
const tempFileName = `/tmp/swtor-patcher-download-${Math.random()}.tmp`;
|
||||
|
||||
//If we receive a part of the response, write it to disk
|
||||
let previousChunk: Promise<void> = new Promise((innerResolve) => { innerResolve(); });
|
||||
|
|
Loading…
Reference in a new issue