Works around ccgus/CocoaScript#48, which was preventing the Open panel from appearing on macOS High Sierra 10.13 when selecting the "Load Palette…" option. Prior to this commit, the following error is logged to the Console app when attempting to load a palette:
Works around ccgus/CocoaScript#48, which was preventing the Open panel from appearing on macOS High Sierra 10.13 when selecting the "Load Palette…" option. Prior to this commit, the following error is logged to the Console app when attempting to load a palette:
Tangentially, since the same array values are used here, perhaps a
const ALLOWED_FILE_TYPES = ["sketchpalette"]
would be more ideal.Anyway, thanks for this plugin. I use it whenever I design in Sketch.