🎨 Update comment and cspell settings
This commit is contained in:
parent
0fc805f12d
commit
f7a0f4ebff
2 changed files with 7 additions and 1 deletions
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
|
@ -3,11 +3,17 @@
|
|||
"affero",
|
||||
"agpl",
|
||||
"bencode",
|
||||
"betatest",
|
||||
"cstraining",
|
||||
"decryptor",
|
||||
"eualas",
|
||||
"jedipedia",
|
||||
"liveeptest",
|
||||
"liveqatest",
|
||||
"metafile",
|
||||
"networkgroupid",
|
||||
"patchmanifest",
|
||||
"publictest",
|
||||
"retailclient",
|
||||
"solidconfig",
|
||||
"solidpkg",
|
||||
|
|
|
@ -8,7 +8,7 @@ import createDirRecursively from './funcs/createDirRecursively';
|
|||
/** Downloads the given URL and saves it to disk. Returns the location where file is saved under. Throws error if download fails. */
|
||||
export default async function downloadWrapper({ host, path, size, useCurl = false }: {host: string, path: string, size: number, useCurl: boolean}): Promise<string> {
|
||||
//Generate file name we want to save it under
|
||||
//e.g. on Linux: /tmp/patcher/patch/assets_swtor_main/assets_swtor_main_-1to0/assets_swtor_main_-1to0.zip
|
||||
//e.g. on Linux: /tmp/patcher/cdn-patch.swtor.com/patch/assets_swtor_main/assets_swtor_main_-1to0/assets_swtor_main_-1to0.zip
|
||||
const tempFileName = nodePath.join(os.tmpdir(), 'patcher', host, path);
|
||||
|
||||
//Create parent directory recursively
|
||||
|
|
Loading…
Reference in a new issue