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
|
|
@ -228,7 +228,7 @@ export interface MasPlanInput {
|
|||
|
||||
/** The commands of one build, as shown by --dry and run by build-mas. Pure. */
|
||||
export function masSteps(i: MasPlanInput): { tauri: string[]; productbuild: string[]; codesignVerify: string[]; pkgCheck: string[] } {
|
||||
const appPath = join(i.tauri.cwd, 'target', i.target, 'release', 'bundle', 'macos', `${i.tauri.productName}.app`);
|
||||
const appPath = join(i.tauri.dir, 'target', i.target, 'release', 'bundle', 'macos', `${i.tauri.productName}.app`);
|
||||
return {
|
||||
tauri: [...i.tauriCmd, 'build', '--bundles', 'app', '--target', i.target, '--config', i.configFile],
|
||||
codesignVerify: ['codesign', '--verify', '--deep', '--strict', '--verbose=2', appPath],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue