diff --git a/npm/install.js b/npm/install.js index c79e7f7..af345b4 100644 --- a/npm/install.js +++ b/npm/install.js @@ -55,7 +55,7 @@ const install = () => { throw new Error(`${tarFile} does not exist`) } - cp.execSync(`tar -xf ${tarFile}.test -C ${tmpdir}`); + cp.execSync(`tar -xf ${tarFile} -C ${tmpdir}`); fs.copyFileSync(path.join(tmpdir, binaryName), path.join(bin, binaryName)); } catch (error) { console.error('failed to extract binary.', error.message) diff --git a/npm/package.json b/npm/package.json index 29f96af..c0871cc 100644 --- a/npm/package.json +++ b/npm/package.json @@ -1,6 +1,6 @@ { "name": "@adikari/safebox", - "version": "1.2.1", + "version": "1.2.2", "description": "A Fast and Flexible secret manager built with love by adikari in Go", "main": "index.js", "bin": "./run.js",