Skip to content

Commit 165aac2

Browse files
committed
Update macos.v
1 parent 5440e46 commit 165aac2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

compile/macos.v

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@ pub fn macos_build(conf common.BnyConfig) ! {
3131
}
3232
r2 := os.execute('productsign --sign - ${pkg_tmp} ${pkg_path}')
3333
if r2.exit_code != 0 {
34-
println(term.yellow('productsign失败,使用未签名pkg'))
34+
println(term.yellow('未签名,用户可自行签名'))
3535
os.cp(pkg_tmp, pkg_path)!
36-
} else {
37-
os.rm(pkg_tmp)!
3836
}
37+
os.rm(pkg_tmp)!
3938
}
4039
println(term.green('编译完成:' + common.shell_path(conf.name + '.(pkg/dmg)')))
4140
}

0 commit comments

Comments
 (0)