README.md in snapshot-0.3.1 vs README.md in snapshot-0.3.2
- old
+ new
@@ -1,9 +1,10 @@
<p align="center">
<a href="https://github.com/KrauseFx/deliver">Deliver</a> •
<b>Snapshot</b> •
-<a href="https://github.com/KrauseFx/frameit">FrameIt</a>
+<a href="https://github.com/KrauseFx/frameit">FrameIt</a> •
+<a href="https://github.com/KrauseFx/PEM">PEM</a>
</p>
-------
<p align="center">
<img src="assets/snapshot.png">
@@ -89,11 +90,11 @@
xcode-select --install
# UI Automation
-## Get started
+## Getting started
This project uses Apple's ```UI Automation``` under the hood. I will not go into detail on how to write scripts.
Here a few links to get started:
- [Apple's official documentation](https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/UsingtheAutomationInstrument/UsingtheAutomationInstrument.html)
@@ -231,11 +232,20 @@
puts "Cleaning device #{device}"
system("./cleanup.sh")
end
```
+### Skip alpha removal from screenshots
+In case you want to skip this process, just add ```skip_alpha_removal``` to your ```Snapfile```.
+
# Tips
+## Specify a custom ```Snapfile```
+
+ snapshot --snapfile ./SpecialSnapfile
+
+Be aware: The file will be executed from the current directory, not the location of the ```Snapfile```. That means: ```./screenshots``` will export the screenshots to the current directory of your terminal session.
+
## Available language codes
```ruby
["da-DK", "de-DE", "el-GR", "en-AU", "en-CA", "en-GB", "en-US", "es-ES", "es-MX", "fi-FI", "fr-CA", "fr-FR", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "no-NO", "pt-BR", "pt-PT", "ru-RU", "sv-SE", "th-TH", "tr-TR", "vi-VI", "cmn-Hans", "zh_CN", "cmn-Hant"]
```
@@ -244,10 +254,10 @@
## Editing the ```Snapfile```
Change syntax highlighting to *Ruby*.
## Instruments is not responding
-Unfortunately, from time to time, ```Instruments``` decide, to not respond to anything. Which means, neither the ```Instruments``` application, nor the ```instruments``` command line work. Killing the process doesn't help.
+Unfortunately ```Instruments``` sometimes decides, to not respond to anything. Which means, neither the ```Instruments``` application, nor the ```instruments``` command line work. Killing the process doesn't help.
The only way to fix this, is a restart of the Mac.
# Need help?
- If there is a technical problem with ```Snapshot```, submit an issue. Run ```snapshot --trace``` to get the stacktrace.