fix windows path issue

This commit is contained in:
Antelle 2015-10-25 10:41:49 +03:00
parent 260b6ef8b6
commit b68ebe0064
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ app.on('ready', function() {
});
app.on('open-file', function(e, path) {
e.preventDefault();
openFile = path.replace(/"/g, '\\"');
openFile = path.replace(/"/g, '\\"').replace('\\', '\\\\');
notifyOpenFile();
});