@mytec: iter3.7.0 start, gpu calc int
This commit is contained in:
@@ -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) */
|
||||
|
||||
Reference in New Issue
Block a user