without_activation -> activate

This commit is contained in:
Kevin Sawicki
2016-02-16 15:55:37 -08:00
parent 52db43eee5
commit f5bed87199
6 changed files with 24 additions and 18 deletions

View File

@@ -1 +1,17 @@
module.exports = process.atomBinding('shell');
'use strict';
const bindings = process.atomBinding('shell');
exports.beep = bindings.beep;
exports.moveItemToTrash = bindings.moveItemToTrash;
exports.openItem = bindings.openItem;
exports.showItemInFolder = bindings.showItemInFolder;
exports.openExternal = (url, options) => {
var activate = true;
if (options != null && options.activate != null) {
activate = !!options.activate;
}
bindings._openExternal(url, activate);
}