Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ind.ie Projects
Heartbeat Cocoa
Commits
2323f6f3
Unverified
Commit
2323f6f3
authored
Aug 31, 2015
by
Aral Balkan
Browse files
Fixed showing of received attachment links in Finder.
parent
ac4e4f1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Heartbeat/TimelineViewController.swift
View file @
2323f6f3
...
...
@@ -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
)
}
}
...
...
Aral Balkan
@aral
mentioned in issue
#185 (closed)
·
Aug 31, 2015
mentioned in issue
#185 (closed)
mentioned in issue #185
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment