kopia lustrzana https://github.com/robinmoisson/staticrypt
fix path for config file + patch bump
rodzic
7ee936cbda
commit
f390792452
|
@ -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'));
|
||||
|
|
|
@ -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": {
|
||||
|
|
Ładowanie…
Reference in New Issue