From 7357f011c3ff6580480bcc520ce4127667c412b7 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Thu, 18 Jul 2019 18:16:30 -0300 Subject: [PATCH] Set minimum browser version in manifest (#6877) 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 8639577bb..a89962d5a 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 3a694ee3d..746860b25 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 }))