Zip partial database directory
This commit is contained in:
parent
2746051310
commit
2c25894c5f
30 changed files with 3552 additions and 3 deletions
11
node_modules/adm-zip/util/fileSystem.js
generated
vendored
Normal file
11
node_modules/adm-zip/util/fileSystem.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
exports.require = function () {
|
||||
if (typeof process === "object" && process.versions && process.versions["electron"]) {
|
||||
try {
|
||||
const originalFs = require("original-fs");
|
||||
if (Object.keys(originalFs).length > 0) {
|
||||
return originalFs;
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
return require("fs");
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue