Add getTempDirectory (async) method to support.js
Returns a promise for a path to a new temporary directory
This commit is contained in:
parent
2ebce91ecf
commit
409553da2e
2 changed files with 24 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
|||
Components.utils.import("resource://gre/modules/osfile.jsm");
|
||||
Components.utils.import("resource://zotero/q.js");
|
||||
var EventUtils = Components.utils.import("resource://zotero-unit/EventUtils.jsm");
|
||||
|
||||
var ZoteroUnit = Components.classes["@mozilla.org/commandlinehandler/general-startup;1?type=zotero-unit"].
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue