@mytec: iter3.7.0 start, gpu calc int

This commit is contained in:
2026-02-03 22:41:08 +02:00
parent a61753c642
commit 6cd9d869cc
29 changed files with 2288 additions and 28 deletions

View File

@@ -52,9 +52,11 @@ const getLogPath = () => {
const getBackendExePath = () => {
const exeName = process.platform === 'win32' ? 'rfcp-server.exe' : 'rfcp-server';
if (isDev) {
return path.join(__dirname, '..', 'backend', exeName);
// Dev: use the ONEDIR build output
return path.join(__dirname, '..', 'backend', 'dist', 'rfcp-server', exeName);
}
return getResourcePath('backend', exeName);
// Production: ONEDIR structure - backend/rfcp-server/rfcp-server.exe
return getResourcePath('backend', 'rfcp-server', exeName);
};
/** Frontend index.html path (production only) */