cloudron 5.7.0 → 5.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/backup-tools.js +3 -0
package/package.json
CHANGED
package/src/backup-tools.js
CHANGED
|
@@ -280,9 +280,12 @@ async function decryptDir(inDir, outDir, options) {
|
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
const encryptedFilePath = path.join(cur, entry.name);
|
|
283
|
+
|
|
283
284
|
const { error, decryptedFilePath } = decryptFilePath(encryptedFilePath, encryption);
|
|
284
285
|
if (error) throw error;
|
|
285
286
|
|
|
287
|
+
console.log(`Decrypting ${decryptedFilePath}`);
|
|
288
|
+
|
|
286
289
|
const infile = path.join(inDirAbs, cur, entry.name);
|
|
287
290
|
const inStream = fs.createReadStream(infile);
|
|
288
291
|
fs.mkdirSync(path.dirname(path.join(outDirAbs, decryptedFilePath)), { recursive: true });
|