Update pulsar.sh

Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
This commit is contained in:
Spiker985 2023-03-13 11:18:09 -04:00 committed by GitHub
parent 3199f9d2dc
commit b764849960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ if [ $OS == 'Mac' ]; then
PULSAR_PATH="$HOME/Applications"
else
# We haven't found an Pulsar.app, use spotlight to search for Pulsar
PULSAR_PATH="$(mdfind "kMDItemCFBundleIdentifier == 'dev.pulsar_edit.Pulsar'" | grep -v ShipIt | head -1 | xargs -0 dirname)"
PULSAR_PATH="$(mdfind "kMDItemCFBundleIdentifier == 'dev.pulsar-edit.pulsar'" | grep -v ShipIt | head -1 | xargs -0 dirname)"
# Exit if Pulsar can't be found
if [ ! -x "$PULSAR_PATH/$ATOM_APP_NAME" ]; then