You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-26 22:13:53 +01:00
Finaliza macOS support
This commit is contained in:
@@ -15,8 +15,11 @@ if (platform === 'win32') {
|
||||
shared_Library=path.join(__dirname, "libraries", "librdsparser.dll");
|
||||
} else if (platform === 'linux') {
|
||||
unicode_type = 'int32_t';
|
||||
shared_Library=path.join(__dirname, "libraries", "librdsparser_" + cpuArchitecture + ".so");
|
||||
}
|
||||
shared_Library=path.join(__dirname, "libraries", "librdsparser_" + cpuArchitecture + ".so");
|
||||
} else if (platform === 'darwin') {
|
||||
unicode_type = 'int32_t';
|
||||
shared_Library=path.join(__dirname, "libraries", "librdsparser" + ".dylib");
|
||||
}
|
||||
|
||||
const lib = koffi.load(shared_Library);
|
||||
const { fetchTx } = require('./tx_search.js');
|
||||
|
||||
BIN
server/libraries/librdsparser.dylib
Normal file
BIN
server/libraries/librdsparser.dylib
Normal file
Binary file not shown.
Reference in New Issue
Block a user