目录

MOMenu

MOMenu is a menubar item with a plug-in architecture which allows admins to create anything that helps their fleet, from setting user preferences to reporting on machine status.

Building

Requires CocoaPods and Xcode to compile.

Clone the repository, install necessary pods, then build the application:

git clone https://github.com/google/macops-MOMenu
cd macops-MOMenu
pod install
xcodebuild -workspace MOMenu.xcworkspace -scheme MOMenu -configuration Release -derivedDataPath build

The built application will be in ./build/Build/Products/Release/MOMenu.app

In order to use MOMenu, install suitable plugins to /Library/MOMenu/PlugIns

An example Snake plugin is included in this repository.

To build and install the Snake plugin:

cd plugins/snake
xcodebuild
sudo mkdir -p /Library/MOMenu/PlugIns
sudo cp -r build/Release/Snake.bundle /Library/MOMenu/PlugIns

MOMenu and plugins must be codesigned with the same developer certificate in order to launch. To test the program without codesigning, launch it with the nochecksignatures flag, e.g.:

../../build/Build/Products/Release/MOMenu.app/Contents/MacOS/MOMenu --nochecksignatures

MOMenu and its loaded plugins will appear in the menubar:

邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号