Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
open macos dirs in foreground (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshuawuyts authored and juliangruber committed Feb 27, 2017
1 parent 744b244 commit 60c7751
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/repos.js
Expand Up @@ -121,8 +121,8 @@ function createModel () {
// open the dat archive in the native filesystem explorer
function openDirectory (state, data, send, done) {
assert.ok(data.path, 'repos-model.openDirectory: data.path should exist')
shell.openItem(data.path)
done()
var pathname = 'file://' + path.resolve(data.path)
shell.openExternal(pathname, done)
}

// choose a directory and convert it to a dat archive
Expand Down

0 comments on commit 60c7751

Please sign in to comment.