1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

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
This commit is contained in:
Mark Stacey 2019-07-18 18:16:30 -03:00 committed by GitHub
parent 271e0ceb93
commit 7357f011c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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 @@
"*"
]
}
}
}

View File

@ -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 }))