mas build: cargo target folder is src-tauri/target
This commit is contained in:
parent
5fc15dd773
commit
0263f62443
2 changed files with 3 additions and 3 deletions
|
|
@ -164,8 +164,8 @@ export async function run(ctx: Ctx): Promise<void> {
|
|||
writeFileSync(configFile, `${JSON.stringify(overlay, null, 2)}\n`);
|
||||
shipPhase('build', `tauri build ${target}, build ${buildNo}`);
|
||||
await runLogged(steps.tauri, tauri.cwd, join(out, 'tauri-build.log'), showCmd(steps.tauri, null), env);
|
||||
const appDir = findBuiltApp(tauri.cwd, root, target, tauri.productName);
|
||||
if (!appDir) throw new Error(`tauri build exited 0 but no ${tauri.productName}.app is under ${join(tauri.cwd, 'target', target, 'release/bundle/macos')} (see ${join(out, 'tauri-build.log')})`);
|
||||
const appDir = findBuiltApp(tauri.dir, root, target, tauri.productName);
|
||||
if (!appDir) throw new Error(`tauri build exited 0 but no ${tauri.productName}.app is under ${join(tauri.dir, 'target', target, 'release/bundle/macos')} (see ${join(out, 'tauri-build.log')})`);
|
||||
shipPhase('verify', `checking ${basenameOf(appDir)}`);
|
||||
if (!unsigned) {
|
||||
const v = run1(steps.codesignVerify.map(x => (x.endsWith('.app') ? appDir : x)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue