feat(desktop): bundled renderer, modules and instance accounts (#3254)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-07 16:48:07 +02:00
1 parent c748c8af4e
commit 7c5fa2180a
1275 files changed
+215074 -81246

No files matched your search

@@ -0,0 +1,20 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
function nativeFileName(platform = process.platform, arch = process.arch) {
switch (platform) {
case 'darwin':
if (arch === 'x64' || arch === 'arm64') return `gateway-socket.darwin-${arch}.node`;
break;
case 'win32':
if (arch === 'x64' || arch === 'arm64') return `gateway-socket.win32-${arch}-msvc.node`;
break;
case 'linux':
if (arch === 'x64' || arch === 'arm64') return `gateway-socket.linux-${arch}-gnu.node`;
break;
}
throw new Error(`Unsupported gateway-socket target: ${platform}/${arch}`);
}
module.exports = {
nativeFileName,
};