1
0
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:
Mark de Bruijn
2025-04-23 21:50:47 +02:00
parent bddab868b5
commit 263e9d353d
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"); shared_Library=path.join(__dirname, "libraries", "librdsparser.dll");
} else if (platform === 'linux') { } else if (platform === 'linux') {
unicode_type = 'int32_t'; 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 lib = koffi.load(shared_Library);
const { fetchTx } = require('./tx_search.js'); const { fetchTx } = require('./tx_search.js');

Binary file not shown.