How to check file under Library in macOS

Issue #200

let home = NSSearchPathForDirectoriesInDomains(.applicationScriptsDirectory, .userDomainMask, true).first!
let path = home.appending(".XcodeWayExtensions/XcodeWayScript.scpt")
let exists = FileManager.default.fileExists(atPath: path)
Written by

I’m open source contributor, writer, speaker and product maker.

Start the conversation