diff --git a/post-install.js b/post-install.js index fef8cb3c6..d2c1a8687 100644 --- a/post-install.js +++ b/post-install.js @@ -135,7 +135,7 @@ function createDefaultFiles() { function getMd5Hash(data) { return crypto .createHash('md5') - .update(data) + .update(new Uint8Array(data)) .digest('hex'); }