Merge pull request #1017 from jlegewie/patch-1

Allow string path as argument to Zotero.launchFile()
This commit is contained in:
Dan Stillman 2016-05-30 13:26:14 -04:00
commit 26b161fce2

View file

@ -1223,6 +1223,7 @@ Components.utils.import("resource://gre/modules/osfile.jsm");
* Launch a file, the best way we can
*/
this.launchFile = function (file) {
file = Zotero.File.pathToFile(file);
try {
file.launch();
}