diff --git a/cli/index.js b/cli/index.js index 86f1758..e6e7f2c 100755 --- a/cli/index.js +++ b/cli/index.js @@ -41,7 +41,7 @@ const namedArgs = Yargs alias: 'file-template', type: 'string', describe: 'Path to custom HTML template with password prompt.', - default: __dirname + '/password_template.html' + default: path.join(__dirname, 'password_template.html') }) .argv; diff --git a/cli/package-lock.json b/cli/package-lock.json index f77fb9b..1759cba 100644 --- a/cli/package-lock.json +++ b/cli/package-lock.json @@ -1,6 +1,6 @@ { "name": "staticrypt-cli", - "version": "1.1.0", + "version": "1.1.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/cli/package.json b/cli/package.json index 6c3dcd7..5f00aad 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "staticrypt", - "version": "1.1.0", + "version": "1.1.1", "description": "Based on the [crypto-js](https://github.com/brix/crypto-js) library, StatiCrypt uses AES-256 to encrypt your input with your passphrase and put it in a HTML file with a password prompt that can decrypted in-browser (client side).", "main": "index.js", "bin": {