MacOS应用程序批量生成器
mac-app-factor的Python项目详细描述
安装
$ [sudo] pip install mac-app-factory
好处
- 使用一个命令创建多个MacOS应用程序
功能
- 超快(纯壳)
- 安全(忽略本机应用程序)
工作原理
<name>.app
├── Contents
│ ├── MacOS
│ │ └── executable
│ ├── Resources
│ │ └── Icon.icns
│ └── Info.plist
│ executable # edit this file. shebang required
│ <image>.png # copy any png image
│ reveal.sh # helper for reveal folder from your IDE
脚本使用
usage: mac-app-factory path ...
示例
$ mac-app-factory path/to/my-finder-toolbar-apps path/to/my-dock-apps
$ mac-app-factory path/to/name1.app path/to/name2.app
- 超快(纯壳)
- 安全(忽略本机应用程序)
工作原理
<name>.app
├── Contents
│ ├── MacOS
│ │ └── executable
│ ├── Resources
│ │ └── Icon.icns
│ └── Info.plist
│ executable # edit this file. shebang required
│ <image>.png # copy any png image
│ reveal.sh # helper for reveal folder from your IDE
脚本使用
usage: mac-app-factory path ...
示例
$ mac-app-factory path/to/my-finder-toolbar-apps path/to/my-dock-apps
$ mac-app-factory path/to/name1.app path/to/name2.app
<name>.app
├── Contents
│ ├── MacOS
│ │ └── executable
│ ├── Resources
│ │ └── Icon.icns
│ └── Info.plist
│ executable # edit this file. shebang required
│ <image>.png # copy any png image
│ reveal.sh # helper for reveal folder from your IDE
usage: mac-app-factory path ...
示例
$ mac-app-factory path/to/my-finder-toolbar-apps path/to/my-dock-apps
$ mac-app-factory path/to/name1.app path/to/name2.app