mirror of
https://github.com/dbgate/dbgate
synced 2024-11-21 23:39:46 +00:00
fill native modules - oracledb
This commit is contained in:
parent
522170d5c3
commit
a7a8ea053b
@ -5,9 +5,12 @@ let fillContent = '';
|
|||||||
if (process.platform == 'win32') {
|
if (process.platform == 'win32') {
|
||||||
fillContent += `content.msnodesqlv8 = () => require('msnodesqlv8');`;
|
fillContent += `content.msnodesqlv8 = () => require('msnodesqlv8');`;
|
||||||
}
|
}
|
||||||
|
if (process.arch != 'arm64') {
|
||||||
|
fillContent += `content.oracledb = () => require('oracledb');`;
|
||||||
|
}
|
||||||
fillContent += `content['better-sqlite3'] = () => require('better-sqlite3');`;
|
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
|
// this file is generated automatically by script fillNativeModules.js, do not edit it manually
|
||||||
const content = {};
|
const content = {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user