From a7a8ea053bd6a2da0bf953d3244864a0fec5efe5 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Sun, 20 Nov 2022 17:03:55 +0100 Subject: [PATCH] fill native modules - oracledb --- fillNativeModules.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fillNativeModules.js b/fillNativeModules.js index 61dea66eb..cc390b394 100644 --- a/fillNativeModules.js +++ b/fillNativeModules.js @@ -5,9 +5,12 @@ let fillContent = ''; if (process.platform == 'win32') { fillContent += `content.msnodesqlv8 = () => require('msnodesqlv8');`; } +if (process.arch != 'arm64') { + fillContent += `content.oracledb = () => require('oracledb');`; +} fillContent += `content['better-sqlite3'] = () => require('better-sqlite3');`; -const getContent = (empty) => ` +const getContent = empty => ` // this file is generated automatically by script fillNativeModules.js, do not edit it manually const content = {};