fix path for config file + patch bump

pull/131/head
Robin Moisson 2022-04-23 19:56:59 +02:00
rodzic 7ee936cbda
commit f390792452
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -171,7 +171,7 @@ if (namedArgs._.length !== 2) {
// get config file
const isUsingconfigFile = namedArgs.config.toLowerCase() !== 'false';
const configPath = path.join(__dirname, namedArgs.config);
const configPath = './' + namedArgs.config;
let config = {};
if (isUsingconfigFile && fs.existsSync(configPath)) {
config = JSON.parse(fs.readFileSync(configPath, 'utf8'));

Wyświetl plik

@ -1,6 +1,6 @@
{
"name": "staticrypt",
"version": "2.1.0",
"version": "2.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": {