Skip to content

Conversation

@cnctem
Copy link

@cnctem cnctem commented Nov 14, 2025

美化 macOS 图标

  • 增添appIcon.icns,符合 macOS 图标规范

修改打包流程

  • appIcon.icns cp 入green-wall.app目录
  • 增加了 Ad-hoc 签名步骤
  • 打包为.dmg安装包
  • 打包后在 macOS15.3.1(m1) 上完成测试

Ad-hoc 签名里有校验码,这样子打开的时候不会报包体损坏。如果在Mac之前没有设置过“允许任何来源”,会显示“Apple无法验证....” 可以在设置“隐私与安全”里可以单次授权安装,若已允许“任何来源”则可在确认弹窗后直接运行程序。

Fixes #19 #38


Summary by cubic

Improved macOS app icon and build workflow. CI now signs the app and ships a DMG, reducing install warnings and aligning with macOS standards.

  • Bug Fixes

    • Set CFBundleIconFile to appIcon and include appIcon.icns in the app’s Resources.
    • Add Ad‑hoc codesign (--deep) with verification in macOS build.
    • Switch macOS artifact from .zip to a DMG using create-dmg.
  • Migration

    • Update any scripts/docs to consume the .dmg artifact instead of .zip.
    • On first install, if Gatekeeper warns, allow the app in System Settings > Privacy & Security (tested on macOS 15.3.1, M1).

Written for commit e2f9089. Summary will update automatically on new commits.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 6 files

@quyansiyuanwang
Copy link

难以想象这个提交历史经历了什么,建议修理整合好提交历史再强推一次。或者看修改内容不多直接squash也行: (

@cnctem
Copy link
Author

cnctem commented Nov 15, 2025

搞不动了😭你就说我是不是把置顶 Issue 修好了吧

@zmrlft
Copy link
Owner

zmrlft commented Nov 18, 2025

兄弟早!这个pr暂时先不合,目前我这边还没有mac的开发环境,很多步骤都验证不了,但是还是很感谢你的pr,我会在下个版本的发行感谢中写上你的名字

@cnctem
Copy link
Author

cnctem commented Nov 18, 2025

无妨,日后若是得闲,我重新pr一版squash完的便是

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.

Mac OS release打开显示已损坏,无法正常打开使用

3 participants