kit icon indicating copy to clipboard operation
kit copied to clipboard

Drop is not returing `path` on MacOS to Sequoia

Open achtan opened this issue 1 year ago • 4 comments

let filePath = await drop()

dev(filePath)

after I drop files from finder: Screenshot 2024-10-07 at 08 52 05

achtan avatar Oct 07 '24 06:10 achtan

Huh, interesting, looks like an API must have changed on me under the hood. Investigating...

johnlindquist avatar Oct 08 '24 14:10 johnlindquist

Looks like I missed a breaking change note: https://www.electronjs.org/docs/latest/breaking-changes#removed-filepath

I'll get it fixed ASAP and post another release.

johnlindquist avatar Oct 08 '24 14:10 johnlindquist

@achtan Can you test drop with this build?

https://github.com/script-kit/app/releases/tag/v3.1.13

johnlindquist avatar Oct 08 '24 19:10 johnlindquist

@johnlindquist it's working! thanks

achtan avatar Nov 06 '24 08:11 achtan