Ind.ie is now Small Technology Foundation.
Commit 2323f6f3 authored by Aral Balkan's avatar Aral Balkan

Fixed showing of received attachment links in Finder.

parent ac4e4f1b
......@@ -469,8 +469,11 @@ class TimelineViewController: NSViewController, WKNavigationDelegate
else
{
// It’s a different person
let rootPath = NSHomeDirectory().stringByAppendingPathComponent("/Pulse/Sync/3. All your friends/from/")
let filePath = (rootPath as NSString).stringByAppendingPathComponent("\(theCommand)/\(downloadFolder)/\(downloadFileName)")
let rootPath = NSHomeDirectory().stringByAppendingPathComponent("/Pulse/Sync/2. Specific friends/\(theCommand)/")
let filePath = (rootPath as NSString).stringByAppendingPathComponent("from/\(downloadFolder)/\(downloadFileName)")
println("About to show attachment at path: \(filePath)")
NSWorkspace.sharedWorkspace().selectFile(filePath, inFileViewerRootedAtPath: rootPath)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment