[chore] Fix type error in post-install

This commit is contained in:
Cohee 2024-10-11 20:38:19 +03:00
parent ab2427142c
commit bee19908e7

View File

@ -135,7 +135,7 @@ function createDefaultFiles() {
function getMd5Hash(data) { function getMd5Hash(data) {
return crypto return crypto
.createHash('md5') .createHash('md5')
.update(data) .update(new Uint8Array(data))
.digest('hex'); .digest('hex');
} }