Skip to content

Commit

Permalink
Upgrade libgifski
Browse files Browse the repository at this point in the history
To 98e4b6d2070ca75dff03973bd7f8d959f6592e1b
  • Loading branch information
sindresorhus committed May 31, 2022
1 parent 010d09d commit 14c73fa
Show file tree
Hide file tree
Showing 15 changed files with 461 additions and 190 deletions.
19 changes: 18 additions & 1 deletion Gifski/App.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,24 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
NSApp.servicesProvider = self

// We have to include `.badge` otherwise system preferences does not show the checkbox to turn off sounds. (macOS 12.4)
notificationCenter.requestAuthorization(options: [.sound, .badge]) { _, _ in }
notificationCenter.requestAuthorization(options: [.sound, .badge]) { success, _ in
guard
!SSApp.isFirstLaunch,
success
else {
return
}

DispatchQueue.main.async {
// TODO: Remove this in 2023.
SSApp.runOnce(identifier: "notificationSoundNotice") {
NSAlert.showModal(
title: "The conversion completed notification now plays a sound.",
message: "If you don't want this, you can turn it off in “System Preferences › Notifications & Focus › Gifski”."
)
}
}
}

mainWindowController.showWindow(self)

Expand Down
4 changes: 2 additions & 2 deletions app-store-description.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ It converts videos to animated GIFs that use thousands of colors per frame. This
■ To convert, either:

- Drag and drop your HEIC images onto the window or the Dock icon.
- Click the “Open” button in the window (macOS 10.15 and later) or in the “File” menu and then choose your HEIC images.
- Click the “Open” button in the window or in the “File” menu and then choose your HEIC images.
- Right-click your HEIC images in Finder and select this app in the “Open With” menu.

Gifski supports all the video formats that macOS supports (.mp4 or .mov with H264, HEVC, ProRes, etc). The QuickTime Animation format is not supported. Use ProRes 4444 XQ instead. It's more efficient, more widely supported, and like QuickTime Animation, it also supports alpha channel.
Expand Down Expand Up @@ -66,4 +66,4 @@ Browsers throttle frame rates above 50 FPS, playing them at 10 FPS.

■ Support

Click the “Send Feedback…” menu item in the “Help” menu in the app.
Click the “Send Feedback” button in the “Help” menu in the app or email me at [email protected]

0 comments on commit 14c73fa

Please sign in to comment.