Skip to content

can't get the browser information #232

@PengBoUESTC

Description

@PengBoUESTC

I get multiple output of this command:
envinfo git:(main) mdfind kMDItemCFBundleIdentifier=='com.google.Chrome'
/Applications/Google Chrome.app
/System/Volumes/Data/Previous Content/Recovered Items/Applications/Google Chrome.app

and i can't get the version of chrome

➜ envinfo git:(fix/multi-output) /usr/libexec/PlistBuddy -c "Print ApplicationProperties:CFBundleShortVersionString" /Applications/Google\ Chrome.app\ /System/Volumes/Data/Previous\ Content/Recovered\ Items/Applications/Google\ Chrome.app/Contents/Info.plist
File Doesn't Exist, Will Create: /Applications/Google Chrome.app /System/Volumes/Data/Previous Content/Recovered Items/Applications/Google Chrome.app/Contents/Info.plist
Print: Entry, "ApplicationProperties:CFBundleShortVersionString", Does Not Exist

#231

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions