From 917ed6bb67a29409aa583e3c150dc4bf267dcc19 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Tue, 22 Sep 2020 15:33:55 +0100 Subject: [PATCH] tweak for making firmware --- bin/firmwaremaker.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/firmwaremaker.js b/bin/firmwaremaker.js index ce885c394..4e22dd168 100755 --- a/bin/firmwaremaker.js +++ b/bin/firmwaremaker.js @@ -19,6 +19,13 @@ var APPS = [ // IDs of apps to install var MINIFY = true; var fs = require("fs"); +global.Const = { + /* Are we only putting a single app on a device? If so + apps should all be saved as .bootcde and we write info + about the current app into app.info */ + SINGLE_APP_ONLY : false, +}; + var AppInfo = require(ROOTDIR+"/core/js/appinfo.js"); var appjson = JSON.parse(fs.readFileSync(APPJSON).toString()); var appfiles = [];