From 1629bcb75c8f05f16e4833a12c3c52cfb32c8c1a Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Thu, 18 Jul 2019 09:48:53 -0300 Subject: [PATCH] Set minimum browser version in manifest Set the minimum browser version supported in the extension manifest. Currently we only ship the extension on Chrome and Firefox, so the minimum version has been set for those two browsers. Relates to #6805 --- app/manifest.json | 5 +++-- gulpfile.js | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/manifest.json b/app/manifest.json index 8639577bb951..a89962d5afe0 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -21,7 +21,8 @@ }, "applications": { "gecko": { - "id": "webextension@metamask.io" + "id": "webextension@metamask.io", + "strict_min_version": "53.0" } }, "default_locale": "en", @@ -85,4 +86,4 @@ "*" ] } -} \ No newline at end of file +} diff --git a/gulpfile.js b/gulpfile.js index 3a694ee3d85c..746860b255c9 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -153,6 +153,7 @@ gulp.task('manifest:chrome', function () { return gulp.src('./dist/chrome/manifest.json') .pipe(jsoneditor(function (json) { delete json.applications + json.minimum_chrome_version = '58' return json })) .pipe(gulp.dest('./dist/chrome', { overwrite: true }))