From ce06762dce92079426bdc99e0fc93dfe827faf27 Mon Sep 17 00:00:00 2001 From: Miniontoby <47940064+Miniontoby@users.noreply.github.com> Date: Wed, 24 Aug 2022 06:34:14 +0200 Subject: [PATCH] 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 --- tools/startVanillaServer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/startVanillaServer.js b/tools/startVanillaServer.js index cbd9870..4740bef 100644 --- a/tools/startVanillaServer.js +++ b/tools/startVanillaServer.js @@ -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 }