1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

Merge pull request #144 from bkram/finalize-macos-support

Finalize macOS support
This commit is contained in:
Marek Farkaš
2025-04-23 22:00:53 +02:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -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');

Binary file not shown.