Passage à Electron

This commit is contained in:
2015-10-07 14:25:30 +02:00
parent f7be43c558
commit 0c5e2443fe
6 changed files with 46 additions and 136 deletions

View File

@ -249,7 +249,9 @@ exports.findPixmapsIcon = function(iconName) {
exports.findIconThemes = function() {
return System.findFiles('*/', {cwd: ICON_THEMES_ROOTDIR, realpath: true})
.then(function(files) {
return files.map(path.basename.bind(path));
return files.map(function(f) {
return path.basename(f);
});
})
;
};