There was an error while loading. Please reload this page.
1 parent 5440e46 commit 165aac2Copy full SHA for 165aac2
1 file changed
compile/macos.v
@@ -31,11 +31,10 @@ pub fn macos_build(conf common.BnyConfig) ! {
31
}
32
r2 := os.execute('productsign --sign - ${pkg_tmp} ${pkg_path}')
33
if r2.exit_code != 0 {
34
- println(term.yellow('productsign失败,使用未签名pkg'))
+ println(term.yellow('未签名,用户可自行签名'))
35
os.cp(pkg_tmp, pkg_path)!
36
- } else {
37
- os.rm(pkg_tmp)!
38
+ os.rm(pkg_tmp)!
39
40
println(term.green('编译完成:' + common.shell_path(conf.name + '.(pkg/dmg)')))
41
0 commit comments