mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-30 06:42:27 +01:00
Allow exporting to a directory as well as an archive with dactyl.exportHelp.
This commit is contained in:
@@ -202,7 +202,7 @@ const IO = Module("io", {
|
||||
let file = services.directory.get("TmpD", Ci.nsIFile);
|
||||
|
||||
file.append(config.tempFile);
|
||||
file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, parseInt('0600', 8));
|
||||
file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, octal(600));
|
||||
Cc["@mozilla.org/uriloader/external-helper-app-service;1"]
|
||||
.getService(Ci.nsPIExternalAppLauncher).deleteTemporaryFileOnExit(file);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user