swiftbar / SwiftBar

Powerful macOS menu bar customization tool
https://swiftbar.app
MIT License
2.95k stars 92 forks source link

About doesn't show all plugin metadata #416

Open ymatuhin opened 5 months ago

ymatuhin commented 5 months ago

Describe the bug I tried to define all meta data, but can't see them in "about" window.

To Reproduce Steps to reproduce the behavior:

  1. Create plain plugin
#!/bin/bash

# Metadata:
# <xbar.title>wttr.in</xbar.title>
# <xbar.version>v1.0</xbar.version>
# <xbar.author>kawarimidoll</xbar.author>
# <xbar.author.github>kawarimidoll</xbar.author.github>
# <xbar.desc>Show current weather using wttr.in.</xbar.desc>
# <xbar.image>https://raw.githubusercontent.com/kawarimidoll/kawarimidoll/master/assets/xbar-wttr-in.png</xbar.image>
# <xbar.dependencies>curl</xbar.dependencies>

# Variables:
# <xbar.var>string(VAR_LOCATION="Cupertino"): Your location.</xbar.var>
# <xbar.var>string(VAR_FORMAT="3"): Display format. Ref: https://github.com/chubin/wttr.in#one-line-output</xbar.var>

echo "test"
  1. Click on "About" inside dropdown

Expected behavior It shows all metadata.

Screenshots

Screenshot 2024-06-13 at 10 14 47

Environment: