Skip to content

修复Mac app无法正常打开#53

Merged
happycola233 merged 3 commits intohappycola233:mainfrom
vancur2021:main
Dec 16, 2025
Merged

修复Mac app无法正常打开#53
happycola233 merged 3 commits intohappycola233:mainfrom
vancur2021:main

Conversation

@vancur2021
Copy link
Contributor

修改了build的脚本,成功打包Mac app

@happycola233 happycola233 merged commit 4755e2b into happycola233:main Dec 16, 2025
1 check passed
@Mister-Hope
Copy link
Contributor

Mister-Hope commented Jan 11, 2026

为什么要把AI生成的💩往里塞?

我强力建议把它revert掉。

第一,spec没有问题,为什么要拒绝用它?你要改构建指令去改spec

第二,我不确定actions的python3.14是因为滚动升级patch崩了还是怎样,本地测试和在我的fork上构建的版本都是可用的,如果你觉得有问题去找问题。打包器我没看到它说《不支持》3.14,而且你的AI第一个commit上来还把 checkout 和 python-setup 的action版本号往下降你也欣然接受我是真的绷不住。

第三,签名是应该你下载之后自己做的,因为我们本来就没有apple开发者证书。我这里不精通,你把产物自签一下可能在你机器上再额外开点什么也许能跑起来,action上强制签名之后换到你机器上铁定是不能用。正确的做法是运行 xattr -cr /Applications/tchMaterial-parser.app

整个pr唯一有点用一条,是在打包前chmod+x给予执行权限,可能有那么点道理
更新:也是一点道理都没有,我们打包的是app不是bin
再更新:你确定你打包的是app?我又看了一眼,你确定不是给我魔改出了一个bin来?

总之,我没看到这个PR有任何作用,你小白不知道要 xattr -cr 是你自己的问题,不是你让 AI 一通乱改还自信的开个pr塞💩的理由

@Mister-Hope
Copy link
Contributor

@happycola233 请把这个commit revert,高中快放假了等考试结束批完卷我抽时间看一下。

app没有签名默认就提示损坏是预期的,也许需要在readme里给小白加两行指导。

wuziqian211 added a commit that referenced this pull request Jan 11, 2026
wuziqian211 added a commit that referenced this pull request Jan 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants