2019-07-05 19:54:04 +03:00
|
|
|
if (!global.NBIN_LOADED) {
|
|
|
|
try {
|
|
|
|
const nbin = require("nbin");
|
|
|
|
nbin.shimNativeFs("{{ROOT_PATH}}");
|
|
|
|
global.NBIN_LOADED = true;
|
|
|
|
} catch (error) {
|
2019-07-11 02:10:39 +03:00
|
|
|
// Not in the binary.
|
2019-07-05 19:54:04 +03:00
|
|
|
}
|
|
|
|
}
|