diff --git a/bin/sanitycheck.js b/bin/sanitycheck.js index 8cc78ea2a..b98aa9ef3 100755 --- a/bin/sanitycheck.js +++ b/bin/sanitycheck.js @@ -51,7 +51,7 @@ try{ const APP_KEYS = [ 'id', 'name', 'shortName', 'version', 'icon', 'description', 'tags', 'type', - 'sortorder', 'readme', 'custom', 'interface', 'storage', 'data', 'allow_emulator', + 'sortorder', 'readme', 'custom', 'customConnect', 'interface', 'storage', 'data', 'allow_emulator', 'dependencies' ]; const STORAGE_KEYS = ['name', 'url', 'content', 'evaluate', 'noOverwite']; @@ -100,6 +100,7 @@ apps.forEach((app,appIdx) => { 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.customConnect && !app.custom) ERROR(`App ${app.id} has customConnect but no customn HTML`); if (app.interface && !fs.existsSync(appDir+app.interface)) ERROR(`App ${app.id} interface HTML doesn't exist`); if (app.dependencies) { if (("object"==typeof app.dependencies) && !Array.isArray(app.dependencies)) { diff --git a/core b/core index 37224e0da..fa987efa8 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 37224e0da48ab7682704469ce1442181a6e1eefe +Subproject commit fa987efa85994fe0678bd6478451237472147158