test: Add -u flag unzipping vanilla server (#262)
* Fixed startVanillaServer.js I fixed the CI by editing startVanillaServer.js and adding -u to unzip and tar * Update startVanillaServer.js
This commit is contained in:
parent
3a0071f0ef
commit
ce06762dce
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ async function download (os, version, path = 'bds-') {
|
|||
await get(found, 'bds.zip')
|
||||
console.info('⚡ Unzipping')
|
||||
// Unzip server
|
||||
if (process.platform === 'linux') cp.execSync('unzip bds.zip && chmod +777 ./bedrock_server')
|
||||
if (process.platform === 'linux') cp.execSync('unzip -u bds.zip && chmod +777 ./bedrock_server')
|
||||
else cp.execSync('tar -xf bds.zip')
|
||||
return verStr
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue