1
0
Fork 0

update checks

master
Gordon Williams 2020-04-07 09:04:06 +01:00
parent 858d979f00
commit dbf2d31316
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ apps.forEach((app,addIdx) => {
if (!app.description) ERROR(`App ${app.id} has no description`);
if (!app.icon) ERROR(`App ${app.id} has no icon`);
if (!fs.existsSync(appDir+app.icon)) ERROR(`App ${app.id} icon doesn't exist`);
if (app.readme && !fs.existsSync(appDir+app.readme)) ERROR(`App ${app.id} README file doesn't exist`);
if (app.custom && !fs.existsSync(appDir+app.custom)) ERROR(`App ${app.id} custom HTML doesn't exist`);
if (app.interface && !fs.existsSync(appDir+app.interface)) ERROR(`App ${app.id} interface HTML doesn't exist`);
var fileNames = [];