固定桌面壳本地产物收集路径
桌面壳 release 二进制复制到根 build/native/desktop 根级原生壳门禁验证 staged 桌面二进制产物 同步原生壳方案文档和共享决策记录
This commit is contained in:
@@ -1004,6 +1004,11 @@ const steps = [
|
||||
command: npmCommand,
|
||||
args: ['run', 'desktop-shell:build', '--', '--no-bundle'],
|
||||
},
|
||||
{
|
||||
label: 'desktop-shell-stage-release-binary',
|
||||
command: npmCommand,
|
||||
args: ['run', 'desktop-shell:stage-release-binary'],
|
||||
},
|
||||
];
|
||||
|
||||
function shouldScanProductionShellFile(filePath) {
|
||||
@@ -2904,18 +2909,16 @@ function assertHostBridgeLayerLayout() {
|
||||
}
|
||||
|
||||
function assertDesktopReleaseBinaryArtifact() {
|
||||
const releaseDir = path.join(
|
||||
'apps',
|
||||
'desktop-shell',
|
||||
'src-tauri',
|
||||
'target',
|
||||
'release',
|
||||
);
|
||||
const executableName =
|
||||
process.platform === 'win32'
|
||||
? 'genarrative-desktop-shell.exe'
|
||||
: 'genarrative-desktop-shell';
|
||||
const executablePath = path.join(releaseDir, executableName);
|
||||
const executablePath = path.join(
|
||||
'build',
|
||||
'native',
|
||||
'desktop',
|
||||
executableName,
|
||||
);
|
||||
|
||||
if (!fs.existsSync(executablePath)) {
|
||||
throw new Error(`desktop release binary is missing: ${executablePath}`);
|
||||
|
||||
Reference in New Issue
Block a user