Nyx0uf / qlImageSize

QuickLook and Spotlight plugins to display the dimensions, size and DPI of an image in the title bar instead of the filename. Also preview some unsupported formats like WebP & bpg.
MIT License
1.19k stars 66 forks source link

How to build this plugin? #32

Closed miranquil closed 5 years ago

miranquil commented 5 years ago

Now I understand Homebrew or installer are no longer supported, then how should I build from souce code? I'm new for macOS, please help and thanks for your kindness.

sleekybadger commented 5 years ago

@yorushika this should help:

miranquil commented 5 years ago

@yorushika this should help:

  • Verify that Xcode installed (use this guide if not).
  • Set Xcode as build tool: $ sudo xcode-select -switch /Applications/Xcode.app
  • Clone this repo: $ git clone git@github.com:Nyx0uf/qlImageSize.git
  • Go inside: $ cd qlImageSize
  • Build it: $ xcodebuild
  • Copy release to QuickLook folder:
$ cp -R build/Release/qlImageSize.qlgenerator ~/Library/QuickLook/qlImageSize.qlgenerator
  • Reload QuickLook generators: $ qlmanage-r

That helped a lot! Many thanks!