diff --git a/app/home.html b/app/home.html index e4838a50e..bb0333dcf 100644 --- a/app/home.html +++ b/app/home.html @@ -4,6 +4,9 @@ MetaMask + {{@if(it.isMMI)}} + MetaMask Institutional + {{/if}} diff --git a/development/build/scripts.js b/development/build/scripts.js index 742d72257..2acb93cdf 100644 --- a/development/build/scripts.js +++ b/development/build/scripts.js @@ -689,6 +689,7 @@ function createFactoredBuild({ commonSet, browserPlatforms, applyLavaMoat, + isMMI: buildType === 'mmi', }); break; } @@ -1143,6 +1144,7 @@ function renderHtmlFile({ commonSet, browserPlatforms, applyLavaMoat, + isMMI, }) { if (applyLavaMoat === undefined) { throw new Error( @@ -1154,7 +1156,11 @@ function renderHtmlFile({ const jsBundles = [...commonSet.values(), ...groupSet.values()].map( (label) => `./${label}.js`, ); - const htmlOutput = Sqrl.render(htmlTemplate, { jsBundles, applyLavaMoat }); + const htmlOutput = Sqrl.render(htmlTemplate, { + jsBundles, + applyLavaMoat, + isMMI, + }); browserPlatforms.forEach((platform) => { const dest = `./dist/${platform}/${htmlName}.html`; // we dont have a way of creating async events atm