Closed pallxk closed 11 months ago
This change makes the generated JSON file from "Export Shortcuts" consistent.
Before the change, key (appBundleURL, appDisplayName and shortcut) ordering is random, which is annoying when the file is tracked via git.
appBundleURL
appDisplayName
shortcut
The change should work for macOS 10.13+ as per doc https://developer.apple.com/documentation/foundation/jsonserialization/writingoptions/2888322-sortedkeys
This change makes the generated JSON file from "Export Shortcuts" consistent.
Before the change, key (
appBundleURL
,appDisplayName
andshortcut
) ordering is random, which is annoying when the file is tracked via git.The change should work for macOS 10.13+ as per doc https://developer.apple.com/documentation/foundation/jsonserialization/writingoptions/2888322-sortedkeys