From db524bae8244f29861b3eeec6eae00b4152fcde1 Mon Sep 17 00:00:00 2001 From: Gabriel Le Breton Date: Mon, 27 Mar 2017 00:50:55 -0400 Subject: [PATCH 1/3] Closes #6 and updates readme --- README.md | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index aa562b2..5079335 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,34 @@ -Provisioning -============ +# Provisioning A Quick Look plug-in for .mobileprovision files (on iOS) and .provisionprofile files (on OS X). +## Installation + +### Manual installation + A ZIP file with the latest version can be [downloaded from the Releases page](https://github.com/chockenberry/Provisioning/releases). +### Using [brew cask](https://caskroom.github.io/) + +```bash +brew cask install provisioning +``` + +## Select and copy text from Quick Look + If you want to copy information from the Quick Look preview, you need to [change a hidden Finder preference](http://www.macworld.com/article/1164668/select_and_copy_text_within_quick_look_previews.html) using the command line: - $ defaults write com.apple.finder QLEnableTextSelection -bool TRUE - $ killall Finder +```bash +defaults write com.apple.finder QLEnableTextSelection -bool TRUE +killall Finder +``` + +## Provisionning overview If you're like the rest of us, provisioning can sometimes make your head spin. When that happens, I recommend reading Sean Heber's [provisioning overview](http://bigzaphod.tumblr.com/post/78574849549/provisioning). +## Thanks + Thanks to following individuals who've helped with this project: * [Pieter Claerhout](https://github.com/pieterclaerhout) for the OS X and profile type support. @@ -19,17 +36,15 @@ Thanks to following individuals who've helped with this project: * [Evgeny Aleksandrov](https://github.com/ealeksandrov) for locale-aware date formatting. -Project Notes -------------- - -* The plug-in code can be signed, but currently isn't because it prevents the app from reading user defaults from Xcode (and showing device names and software versions.) If you want to sign the code, set the "Code Signing Identity" build setting to the "Developer ID: *" automatic setting. If you don't have a Developer ID, get creative. You'll also need to change the SIGNED_CODE definition from 0 to 1. +## Project Notes -* There is a "Provisioning (Install)" aggregate target that puts the build of Provisioning.qlgenerator in your ~/Library/QuickLook folder. +* The plug-in code can be signed, but currently isn't because it prevents the app from reading user defaults from Xcode (and showing device names and software versions). If you want to sign the code, set the `Code Signing Identity` build setting to the `Developer ID: *` automatic setting. If you don't have a Developer ID, get creative. You'll also need to change the `SIGNED_CODE` definition from `0` to `1`. -* The "Provisioning" schemes runs "qlmanage" with the -p argument set to "~/Library/MobileDevice/Provisioning\ Profiles/Iconfactory_Development.mobileprovision". You won't have this file, so change it to something you do have. +* There is a "Provisioning (Install)" aggregate target that puts the build of Provisioning.qlgenerator in your `~/Library/QuickLook` folder. -* QuickLook plug-ins sometimes don't like to install. Learn to use "qlmanage -r" to reset the daemon. Using "qlmanage -m plugins | grep mobileprovision" will tell you if the plug-in has been recognized. Sometimes you have to login and out before the plug-in is recognized. +* The "Provisioning" schemes runs `qlmanage` with the `-p` argument set to `~/Library/MobileDevice/Provisioning\ Profiles/Iconfactory_Development.mobileprovision`. You won't have this file, so change it to something you do have. -* You can use the command-line to debug, as well. To dump of the output in a .qlpreview bundle, use: "qlmanage -p ~/Library/MobileDevice/Provisioning\ Profiles/Iconfactory_Development.mobileprovision -o /tmp/quicklook". You'll need to make the directory first. +* QuickLook plug-ins sometimes don't like to install. Learn to use `qlmanage -r` to reset the daemon. Using `qlmanage -m plugins | grep mobileprovision` will tell you if the plug-in has been recognized. Sometimes you have to login and out before the plug-in is recognized. +* You can use the command-line to debug, as well. To dump of the output in a `.qlpreview` bundle, use: `qlmanage -p ~/Library/MobileDevice/Provisioning\ Profiles/Iconfactory_Development.mobileprovision -o /tmp/quicklook`. You'll need to make the directory first. From 6b7dcad2ae8710a983187c738776cbd4881dbc6f Mon Sep 17 00:00:00 2001 From: Gabriel Le Breton Date: Mon, 27 Mar 2017 00:56:06 -0400 Subject: [PATCH 2/3] :v: MIT License --- LICENSE.md | 8 ++++++++ README.md | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 LICENSE.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..a56d587 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,8 @@ +The MIT License (MIT) +Copyright (c) 2017 Craig Hockenberry + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 5079335..c09ffc9 100644 --- a/README.md +++ b/README.md @@ -48,3 +48,6 @@ Thanks to following individuals who've helped with this project: * You can use the command-line to debug, as well. To dump of the output in a `.qlpreview` bundle, use: `qlmanage -p ~/Library/MobileDevice/Provisioning\ Profiles/Iconfactory_Development.mobileprovision -o /tmp/quicklook`. You'll need to make the directory first. +## LICENSE + +MIT © [Craig Hockenberry](https://github.com/chockenberry) From 1875372cf3ddb742d8766242b530d452e45f6ae1 Mon Sep 17 00:00:00 2001 From: Gabriel Le Breton Date: Mon, 27 Mar 2017 00:58:48 -0400 Subject: [PATCH 3/3] typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c09ffc9..b61b182 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ defaults write com.apple.finder QLEnableTextSelection -bool TRUE killall Finder ``` -## Provisionning overview +## Provisioning overview If you're like the rest of us, provisioning can sometimes make your head spin. When that happens, I recommend reading Sean Heber's [provisioning overview](http://bigzaphod.tumblr.com/post/78574849549/provisioning).