diff --git a/build.js b/build.js index 35b43db..c3b7390 100755 --- a/build.js +++ b/build.js @@ -41,7 +41,7 @@ const updateTranslations = async () => { }; const createZipFile = async (fileName, path) => { - await exec(`tar -a -cf ${fileName} ${path}/*`); + await exec(`cd ${path} && tar -a -cf ../${fileName} * && cd ..`); }; (async() => {