Skip to content

使用Platypus从命令行脚本创建原生Mac应用程序

Published:

原文链接


Platypus icon

Platypus is a developer tool that creates native Mac applications from command line scripts such as shell scripts or Python, Perl, Ruby, Tcl, JavaScript and PHP programs. This is done by wrapping the script in a macOS application bundle along with an app binary that runs the script.

Platypus makes it easy to share scripts and command line programs with people who are unfamiliar with the shell interface. Native, user-friendly applications can be created with a few clicks. It is very easy to create installers, droplets, administrative applications, login items, status menu items, launchers and automations using Platypus.

\

Features

\

License

Platypus is free, open source software distributed under the terms of the three-clause BSD license and has been continually maintained and developed for a very long time (since 2003). The source code is available on GitHub.

If Platypus makes your life easier, please make a donation to support continued development.

\

Download

The latest version is Platypus 5.4.1, released on October 22nd, 2022. Platypus and Platypus-generated applications require macOS 10.11 or later, and are Universal 64-bit Intel/ARM binaries. The main Platypus application and command line tool are Apple Developer ID signed.

Platypus can also be installed via Homebrew (may not be latest version):

$ brew install —cask platypus

\

Legacy support

If you want to target macOS 10.8-10.10, use version 5.3. If you want to target 10.6 and/or 32-bit Intel systems, version 4.9 continues to work just fine.

\

\

Screenshots

Platypus Window

Platypus lets you select one of several different user interfaces for your script.

\

Progress Bar

Progress Bar interface

Text Window

Text Window interface

Web View

Web View interface

Status Menu

Status Menu interface

Droplet

Droplet interface


Previous Post
强大的Twitter视频下载器和营销工具:ezshine/twitterxdownload
Next Post
Animagraffs:关于各种事物的动画信息图解