|
|
@ -9,6 +9,7 @@ var
|
|
|
|
json = require(process.env.WAPPALYZER_ROOT + '/src/apps.json');
|
|
|
|
json = require(process.env.WAPPALYZER_ROOT + '/src/apps.json');
|
|
|
|
|
|
|
|
|
|
|
|
for ( app in json.apps ) {
|
|
|
|
for ( app in json.apps ) {
|
|
|
|
|
|
|
|
(function(app) {
|
|
|
|
var path = process.env.WAPPALYZER_ROOT + '/src/icons/' + app + '.png';
|
|
|
|
var path = process.env.WAPPALYZER_ROOT + '/src/icons/' + app + '.png';
|
|
|
|
|
|
|
|
|
|
|
|
fs.exists(path, function(exists) {
|
|
|
|
fs.exists(path, function(exists) {
|
|
|
@ -24,4 +25,5 @@ for ( app in json.apps ) {
|
|
|
|
throw new Error('Missing file: src/icons/' + app + '.png');
|
|
|
|
throw new Error('Missing file: src/icons/' + app + '.png');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
}(app));
|
|
|
|
};
|
|
|
|
};
|
|
|
|