diff --git a/DevExcuses/Sources/Extensions.swift b/DevExcuses/Sources/Extensions.swift index dc42ea0..9228b5a 100644 --- a/DevExcuses/Sources/Extensions.swift +++ b/DevExcuses/Sources/Extensions.swift @@ -47,7 +47,7 @@ extension Photo { if let urls = self.urls, let raw = urls.raw, - let url = URL(string: raw + "&w=" + String(Int(size.width)) + "&h=" + String(Int(size.height))) { + let url = URL(string: raw + "&auto=compress&fit=crop&w=" + String(Int(size.width)) + "&h=" + String(Int(size.height))) { URLSession.shared.dataTask(with: url) { (data, response, error) in if let error = error { observer.onError(error as NSError) diff --git a/README.md b/README.md index c30b74e..f81bc87 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,10 @@ A macOS screen saver that shows a random [developer excuse](http://www.devexcuse ![Configurations](Screenshots/configurations.png) ## Downloads -### [Screen Saver](Releases/1.6/screensaver.zip) +### [Screen Saver](Releases/1.7/screensaver.zip) Double-click to install. -### [Security Camera](Releases/1.6/SecurityCamera.zip) +### [Security Camera](Releases/1.7/SecurityCamera.zip) Place it to somewhere handy, such as `~/Downloads` or `/usr/bin`, and then update its path in the screen saver configurations . ## Compatibility diff --git a/Releases/1.7/SecurityCamera.zip b/Releases/1.7/SecurityCamera.zip new file mode 100644 index 0000000..3a82ce2 Binary files /dev/null and b/Releases/1.7/SecurityCamera.zip differ diff --git a/Releases/1.7/screensaver.zip b/Releases/1.7/screensaver.zip new file mode 100644 index 0000000..f892ed1 Binary files /dev/null and b/Releases/1.7/screensaver.zip differ