fix(pi): verify Linux compatibility executable
This commit is contained in:
@@ -23,6 +23,7 @@ import {
|
||||
} from '../probe-pi-packaged-runtime.mjs';
|
||||
|
||||
const PRODUCT_NAME = 'Makelore';
|
||||
const LINUX_EXECUTABLE_NAME = 'niancode';
|
||||
const EXTENSION_CONTRACT_MARKERS = Object.freeze([
|
||||
'Makelore runtime bridge rejected the request',
|
||||
'subagent.dispatch',
|
||||
@@ -79,7 +80,7 @@ export function defaultProductExecutable(projectRoot, currentPlatform = hostPlat
|
||||
return join(root, 'release', 'mac', `${PRODUCT_NAME}.app`, 'Contents', 'MacOS', PRODUCT_NAME);
|
||||
}
|
||||
if (currentPlatform === 'linux') {
|
||||
return join(root, 'release', 'linux-unpacked', PRODUCT_NAME.toLowerCase());
|
||||
return join(root, 'release', 'linux-unpacked', LINUX_EXECUTABLE_NAME);
|
||||
}
|
||||
throw new Error(`Unsupported product artifact platform: ${currentPlatform}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user