packaging/net.krz.ambient-companions.menubar-pet.plist
32 lines · 1104 bytes
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3<plist version="1.0">
4<dict>
5 <key>Label</key>
6 <string>net.krz.ambient-companions.menubar-pet</string>
7
8 <!--
9 Launches through Homebrew's version-independent opt symlink. A Login Item
10 stores a bookmark, which macOS resolves to the versioned Cellar path at the
11 moment it is created — so it breaks silently at the first brew cleanup
12 after an upgrade. launchd stores this as a literal string and follows the
13 symlink at each launch, so upgrades are invisible to it.
14 -->
15 <key>ProgramArguments</key>
16 <array>
17 <string>/opt/homebrew/opt/ambient-companions/menubar-pet.app/Contents/MacOS/menubar-pet</string>
18 </array>
19
20 <key>RunAtLoad</key>
21 <true/>
22
23 <!--
24 No KeepAlive on purpose: the menu has a Quit item, and KeepAlive would
25 relaunch the app the moment you used it.
26 -->
27
28 <!-- A GUI app: it needs the Aqua session to own a status item. -->
29 <key>LimitLoadToSessionType</key>
30 <string>Aqua</string>
31</dict>
32</plist>